'changed host (_@_)' -> 'changed host to _@_'

This commit is contained in:
jesopo 2019-10-31 15:51:24 +00:00
parent a8113488aa
commit 307a767d22

View file

@ -86,7 +86,7 @@ class Module(ModuleManager.BaseModule):
@utils.hook("received.chghost") @utils.hook("received.chghost")
def _on_chghost(self, event): def _on_chghost(self, event):
line_minimal = "%s changed host (%s@%s)" % (event["user"].nickname, line_minimal = "%s changed host to %s@%s" % (event["user"].nickname,
event["username"], event["hostname"]) event["username"], event["hostname"])
line = "- %s" % line_minimal line = "- %s" % line_minimal
self._event("chghost", event["server"], line, None, user=event["user"], self._event("chghost", event["server"], line, None, user=event["user"],