3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-12-22 18:52:41 +01:00

try including the prefix in the PONG to a client PING, maybe fix #5

This commit is contained in:
Edmund Huber 2015-02-16 00:41:50 -08:00
parent b0d6c7bf71
commit 846543c180

View File

@ -152,7 +152,8 @@ func RplPing(target Identifiable) string {
}
func RplPong(client *Client, msg Text) string {
return NewStringReply(nil, PONG, "%s :%s", client.server, msg.String())
// #5: IRC for Android will time out if it doesn't get the prefix back.
return NewStringReply(client, PONG, "%s :%s", client.server, msg.String())
}
func RplQuit(client *Client, message Text) string {