Print when we receive and INVITE

This commit is contained in:
jesopo 2018-11-27 17:33:24 +00:00
parent e1cdd4a353
commit e47edbddfb

View file

@ -124,3 +124,8 @@ class Module(ModuleManager.BaseModule):
def motd_end(self, event):
for line in event["server"].motd_lines:
self.print_line(event, "[MOTD] %s" % line)
@utils.hook("received.invite")
def invite(self, event):
self.print_line(event, "%s was invited to %s" % (
event["user"].nickname, target_channel))