From: Alexander Barton Date: Tue, 20 Jan 2015 21:50:13 +0000 (+0100) Subject: Auth PING: Fix our information text for manual sending of "PONG" X-Git-Tag: rel-22.1~8 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=commitdiff_plain;h=c41f18e3f90512afcf38f42695c26708a1f34772 Auth PING: Fix our information text for manual sending of "PONG" Up to now, ngIRCd doesn't send a valid IRC command at all, oops! --- diff --git a/src/ngircd/irc-login.c b/src/ngircd/irc-login.c index fbb50edb..98ac0e7f 100644 --- a/src/ngircd/irc-login.c +++ b/src/ngircd/irc-login.c @@ -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