diff options
author | Luke Bratch <luke@bratch.co.uk> | 2019-10-02 18:49:01 +0100 |
---|---|---|
committer | Luke Bratch <luke@bratch.co.uk> | 2019-10-02 18:49:01 +0100 |
commit | baa042fac89b9960de59b8d9a24c6791365ec17d (patch) | |
tree | f570f72a10d0dd97fb9bb8c9bc296ee013bc3cf5 /message.c | |
parent | a2f388e16891f71d97066cf2803d02ad61bae6d5 (diff) |
Various typo fixes.
Diffstat (limited to 'message.c')
-rw-r--r-- | message.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; } |