summaryrefslogtreecommitdiff
path: root/message.c
diff options
context:
space:
mode:
Diffstat (limited to 'message.c')
-rw-r--r--message.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/message.c b/message.c
index 95ffb3a..a187655 100644
--- a/message.c
+++ b/message.c
@@ -1297,7 +1297,7 @@ int processclientmessage(SSL *server_ssl, char *str, struct client *clients, int
// Make sure we don't have more than three (d:h:m) components
if (timecounter > 3) {
debugprint(DEBUG_SOME, "Too many time components requested by REPLAY command. Telling client.\n");
- snprintf(outgoingmsg, MAXDATASIZE, "NOTICE %s :Too many time components requestd by REPLAY command. Expected up to three (days:hours:minutes).", ircdstate->ircnick);
+ snprintf(outgoingmsg, MAXDATASIZE, "NOTICE %s :Too many time components requested by REPLAY command. Expected up to three (days:hours:minutes).", ircdstate->ircnick);
sendtoclient(sourcefd, outgoingmsg, clients, settings, 0);
free(timestrcopyPtr);
return 1;
@@ -1399,8 +1399,8 @@ int processclientmessage(SSL *server_ssl, char *str, struct client *clients, int
// Make sure the client code length is good
if (strlen(tokens[2]) < 1 || strlen(tokens[2]) > CLIENTCODELEN - 1) {
- debugprint(DEBUG_SOME, "Invalid CLIENTODE length.\n");
- snprintf(outgoingmsg, MAXDATASIZE, "NOTICE %s :Invalid CLIENTODE length. Must be 1 to %d characters.", ircdstate->ircnick, CLIENTCODELEN - 1);
+ debugprint(DEBUG_SOME, "Invalid CLIENTCODE length.\n");
+ snprintf(outgoingmsg, MAXDATASIZE, "NOTICE %s :Invalid CLIENTCODE length. Must be 1 to %d characters.", ircdstate->ircnick, CLIENTCODELEN - 1);
sendtoclient(sourcefd, outgoingmsg, clients, settings, 0);
return 1;
}