aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/print_activity.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/print_activity.py b/modules/print_activity.py
index e24605d2..474a665e 100644
--- a/modules/print_activity.py
+++ b/modules/print_activity.py
@@ -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))