mirror of
https://github.com/jeremyd/ergo.git
synced 2026-06-11 23:33:31 -07:00
try including the prefix in the PONG to a client PING, maybe fix #5
This commit is contained in:
+2
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user