mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-26 05:49:25 +01:00
parent
385993fb2d
commit
574b07513c
@ -2383,7 +2383,7 @@ func passHandler(server *Server, client *Client, msg ircmsg.IrcMessage, rb *Resp
|
|||||||
|
|
||||||
// PING [params...]
|
// PING [params...]
|
||||||
func pingHandler(server *Server, client *Client, msg ircmsg.IrcMessage, rb *ResponseBuffer) bool {
|
func pingHandler(server *Server, client *Client, msg ircmsg.IrcMessage, rb *ResponseBuffer) bool {
|
||||||
rb.Add(nil, server.name, "PONG", msg.Params...)
|
rb.Add(nil, server.name, "PONG", server.name, msg.Params[0])
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user