From 846543c180ec480f6bd7c3825f891aeb6dfbf714 Mon Sep 17 00:00:00 2001 From: Edmund Huber Date: Mon, 16 Feb 2015 00:41:50 -0800 Subject: [PATCH] try including the prefix in the PONG to a client PING, maybe fix #5 --- irc/reply.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/irc/reply.go b/irc/reply.go index a1426a83..2434714b 100644 --- a/irc/reply.go +++ b/irc/reply.go @@ -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 {