Copypaste fail, 'target_channel' -> 'event["target_channel"]'

(print_activity.py)
This commit is contained in:
jesopo 2018-11-27 17:34:10 +00:00
parent e47edbddfb
commit 6077d06c99

View file

@ -128,4 +128,4 @@ class Module(ModuleManager.BaseModule):
@utils.hook("received.invite") @utils.hook("received.invite")
def invite(self, event): def invite(self, event):
self.print_line(event, "%s was invited to %s" % ( self.print_line(event, "%s was invited to %s" % (
event["user"].nickname, target_channel)) event["user"].nickname, event["target_channel"]))