{~TNICK}, not {TNICK}

This commit is contained in:
jesopo 2020-01-20 14:00:20 +00:00
parent 1397c3795a
commit 0abcc173cd

View file

@ -188,7 +188,7 @@ class Module(ModuleManager.BaseModule):
def _on_topic(self, event, nickname, action, topic): def _on_topic(self, event, nickname, action, topic):
formatting = {"ACT": action, "TOP": topic, "~TNICK": nickname} formatting = {"ACT": action, "TOP": topic, "~TNICK": nickname}
minimal = "topic {ACT} by {TNICK}: {TOP}" minimal = "topic {ACT} by {~TNICK}: {TOP}"
line = "- %s" % minimal line = "- %s" % minimal
self._event("topic", event["server"], line, event["channel"].name, self._event("topic", event["server"], line, event["channel"].name,