Explorar el Código

Merge pull request #2033 from slingamn/rehash

fix #2031
tags/v2.12.0-rc1
Shivaram Lingamneni hace 1 año
padre
commit
177133a96f
No account linked to committer's email address
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      irc/handlers.go

+ 1
- 1
irc/handlers.go Ver fichero

@@ -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…
Cancelar
Guardar