diff options
| author | Alexander Barton <alex@barton.de> | 2015-01-20 22:44:36 +0100 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2015-01-20 22:44:36 +0100 |
| commit | 6bdae55177bf3d8910a77bc0af14c0de3d4fd4c9 (patch) | |
| tree | dd36c98b3835d152ad59158d5a072b057cd83c62 /src | |
| parent | fb5ae9e844ee30208f81204cd977469543fd1cc0 (diff) | |
| download | ngircd-6bdae55177bf3d8910a77bc0af14c0de3d4fd4c9.tar.gz ngircd-6bdae55177bf3d8910a77bc0af14c0de3d4fd4c9.zip | |
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!
Diffstat (limited to 'src')
| -rw-r--r-- | src/ngircd/irc-login.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ngircd/irc-login.c b/src/ngircd/irc-login.c index af165cfb..7ad1cb78 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), |