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!
This commit is contained in:
parent
fb5ae9e844
commit
6bdae55177
|
@ -243,7 +243,7 @@ IRC_NICK( CLIENT *Client, REQUEST *Req )
|
||||||
#else
|
#else
|
||||||
Conn_SetAuthPing(Client_Conn(Client), rand());
|
Conn_SetAuthPing(Client_Conn(Client), rand());
|
||||||
#endif
|
#endif
|
||||||
IRC_WriteStrClient(Client, "PING :%ld",
|
Conn_WriteStr(Client_Conn(Client), "PING :%ld",
|
||||||
Conn_GetAuthPing(Client_Conn(Client)));
|
Conn_GetAuthPing(Client_Conn(Client)));
|
||||||
LogDebug("Connection %d: sent AUTH PING %ld ...",
|
LogDebug("Connection %d: sent AUTH PING %ld ...",
|
||||||
Client_Conn(Client),
|
Client_Conn(Client),
|
||||||
|
|
Loading…
Reference in New Issue