Module: ngircd.git Branch: master Commit: 6bdae55177bf3d8910a77bc0af14c0de3d4fd4c9 URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=6bdae...
Author: Alexander Barton alex@barton.de Date: Tue Jan 20 22:44:36 2015 +0100
Auth PING: Don't send a prefix in our PING command
The prefix confuses WeeChat, at least, which doesn't send an appropriate PONG in the case ...
Debugging and patch by "wowaname" on #ngircd, thanks!
---
src/ngircd/irc-login.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ngircd/irc-login.c b/src/ngircd/irc-login.c index af165cf..7ad1cb7 100644 --- a/src/ngircd/irc-login.c +++ b/src/ngircd/irc-login.c @@ -243,7 +243,7 @@ IRC_NICK( CLIENT *Client, REQUEST *Req ) #else Conn_SetAuthPing(Client_Conn(Client), rand()); #endif - IRC_WriteStrClient(Client, "PING :%ld", + Conn_WriteStr(Client_Conn(Client), "PING :%ld", Conn_GetAuthPing(Client_Conn(Client))); LogDebug("Connection %d: sent AUTH PING %ld ...", Client_Conn(Client),