3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-15 00:19:29 +01:00

Merge pull request #2033 from slingamn/rehash

fix #2031
This commit is contained in:
Shivaram Lingamneni 2023-01-15 04:13:53 -08:00 committed by GitHub
commit 177133a96f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2888,7 +2888,7 @@ func rehashHandler(server *Server, client *Client, msg ircmsg.Message, rb *Respo
// TODO all operators should get a notice of some kind here
rb.Notice(client.t("Rehash complete"))
} else {
rb.Add(nil, server.name, ERR_UNKNOWNERROR, nick, "REHASH", err.Error())
rb.Add(nil, server.name, ERR_UNKNOWNERROR, nick, "REHASH", ircutils.SanitizeText(err.Error(), 350))
}
return false
}