summaryrefslogtreecommitdiff
path: root/message.c
diff options
context:
space:
mode:
Diffstat (limited to 'message.c')
-rw-r--r--message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/message.c b/message.c
index 2c6eb16..6ee959a 100644
--- a/message.c
+++ b/message.c
@@ -108,7 +108,7 @@ int processservermessage(SSL *server_ssl, char *str, struct client *clients, int
// If this is a reconnection, JOIN existing channels and catch clients up again
if (ircdstate->reconnecting) {
// First tell clients if our nick changed
- if (!strcmp(ircdstate->ircnick, ircdstate->oldnick)) {
+ if (strcmp(ircdstate->ircnick, ircdstate->oldnick)) {
debugprint(DEBUG_SOME, "Telling clients about nick change.\n");
char nickmsg[MAXDATASIZE];
snprintf(nickmsg, MAXDATASIZE, ":%s NICK :%s", ircdstate->oldnick, ircdstate->ircnick);