nickname
doesn't exist in _on_chghost
This commit is contained in:
parent
736c125b98
commit
e17e439530
1 changed files with 3 additions and 3 deletions
|
@ -113,11 +113,11 @@ class Module(ModuleManager.BaseModule):
|
||||||
def _on_chghost(self, event):
|
def _on_chghost(self, event):
|
||||||
format = "%s changed host to %s@%s" % ("%s", event["username"],
|
format = "%s changed host to %s@%s" % ("%s", event["username"],
|
||||||
event["hostname"])
|
event["hostname"])
|
||||||
minimal = format % nickname
|
minimal = format % event["user"].nickname
|
||||||
|
|
||||||
normal_format = "- %s" % format
|
normal_format = "- %s" % format
|
||||||
normal = normal_format % nickname
|
normal = normal_format % event["user"].nickname
|
||||||
pretty = normal_format % self._color(nickname)
|
pretty = normal_format % self._color(event["user"].nickname)
|
||||||
|
|
||||||
self._event("chghost", event["server"], normal, None,
|
self._event("chghost", event["server"], normal, None,
|
||||||
user=event["user"], minimal=minimal, pretty=pretty)
|
user=event["user"], minimal=minimal, pretty=pretty)
|
||||||
|
|
Loading…
Reference in a new issue