"- " should have been inside the string

This commit is contained in:
jesopo 2019-03-07 18:01:00 +00:00
parent 7811d9874c
commit c8f5f0b0ad

View file

@ -66,7 +66,7 @@ class Module(ModuleManager.BaseModule):
event["user"].nickname) event["user"].nickname)
def _on_join(self, event, user): def _on_join(self, event, user):
line = - "%s joined %s" % (user.nickname, event["channel"].name) line = "- %s joined %s" % (user.nickname, event["channel"].name)
self._event("join", event["server"], line, event["channel"].name, self._event("join", event["server"], line, event["channel"].name,
channel=event["channel"], user=user) channel=event["channel"], user=user)
@utils.hook("received.join") @utils.hook("received.join")