Module: ngircd.git Branch: master Commit: c41f18e3f90512afcf38f42695c26708a1f34772 URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=c41f1...
Author: Alexander Barton alex@barton.de Date: Tue Jan 20 22:50:13 2015 +0100
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!
---
src/ngircd/irc-login.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/ngircd/irc-login.c b/src/ngircd/irc-login.c index fbb50ed..98ac0e7 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