Browse Source

Merge pull request #2033 from slingamn/rehash

fix #2031
tags/v2.12.0-rc1
Shivaram Lingamneni 1 year ago
parent
commit
177133a96f
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      irc/handlers.go

+ 1
- 1
irc/handlers.go View File

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

Loading…
Cancel
Save