Print when we receive and INVITE
This commit is contained in:
parent
e1cdd4a353
commit
e47edbddfb
1 changed files with 5 additions and 0 deletions
|
@ -124,3 +124,8 @@ class Module(ModuleManager.BaseModule):
|
||||||
def motd_end(self, event):
|
def motd_end(self, event):
|
||||||
for line in event["server"].motd_lines:
|
for line in event["server"].motd_lines:
|
||||||
self.print_line(event, "[MOTD] %s" % line)
|
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))
|
||||||
|
|
Loading…
Reference in a new issue