]> arthur.barton.de Git - ngircd.git/commitdiff
Auth PING: Fix our information text for manual sending of "PONG"
authorAlexander Barton <alex@barton.de>
Tue, 20 Jan 2015 21:50:13 +0000 (22:50 +0100)
committerAlexander Barton <alex@barton.de>
Tue, 20 Jan 2015 21:50:13 +0000 (22:50 +0100)
Up to now, ngIRCd doesn't send a valid IRC command at all, oops!

src/ngircd/irc-login.c

index fbb50edbd33617d4f70deda382f719c1ab744e08..98ac0e7f5e07ead740eed5297eb8b45802b59b8d 100644 (file)
@@ -838,8 +838,8 @@ IRC_PONG(CLIENT *Client, REQUEST *Req)
                                Login_User(Client);
                } else
                        if (!IRC_WriteStrClient(Client,
-                                       "To connect, type /QUOTE PONG %ld",
-                                       auth_ping))
+                                       "NOTICE %s :To connect, type /QUOTE PONG %ld",
+                                       Client_ID(Client), auth_ping))
                                return DISCONNECTED;
        }
 #endif