1
0
Fork 0
forked from External/ergo

Fix KLINE quit/error message and corrects comment on Client.Quit

This commit is contained in:
Daniel Oaks 2017-10-16 10:48:05 +10:00
parent 7ccb485b50
commit 8910dc59ee
2 changed files with 2 additions and 2 deletions

View file

@ -475,7 +475,7 @@ func (client *Client) RplISupport() {
}
}
// Quit sends the given quit message to the client (but does not destroy them).
// Quit sets the given quit message for the client and tells the client to quit out.
func (client *Client) Quit(message string) {
client.stateMutex.Lock()
alreadyQuit := client.isQuitting