diff options
author | Runxi Yu <me@runxiyu.org> | 2024-12-08 10:47:36 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2024-12-08 10:47:36 +0800 |
commit | 3b23b5b9aa121664917499577a13248cde55e2c4 (patch) | |
tree | 323a798310c1424cd1720aaad2041ac89d8d67f8 /cmd_ping.go | |
parent | Proper UID handling (diff) | |
download | meseircd-3b23b5b9aa121664917499577a13248cde55e2c4.tar.gz meseircd-3b23b5b9aa121664917499577a13248cde55e2c4.tar.zst meseircd-3b23b5b9aa121664917499577a13248cde55e2c4.zip |
Pong should return server name as 1st argument
Diffstat (limited to 'cmd_ping.go')
-rw-r--r-- | cmd_ping.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd_ping.go b/cmd_ping.go index c5442b5..dc7131f 100644 --- a/cmd_ping.go +++ b/cmd_ping.go @@ -9,6 +9,6 @@ func handleClientPing(msg RMsg, client *Client) bool { client.Send(MakeMsg(self, ERR_NEEDMOREPARAMS, "PING", "Not enough parameters")) return true } - client.Send(MakeMsg(self, "PONG", msg.Params[0])) + client.Send(MakeMsg(self, "PONG", self.Name, msg.Params[0])) return true } |