]> jfr.im git - irc/evilnet/x3.git/blobdiff - src/modpython.py
Couple of srvx updates.
[irc/evilnet/x3.git] / src / modpython.py
index 52541f5d9ede9848c76ecb55893b3fc81973357d..1f7c83c97606e2004651ab08fa4a69e68803eb5c 100644 (file)
@@ -81,7 +81,17 @@ class handler:
     def nick_change(self, user, oldnick):
         for plugin in self.newplugins:
             plugin.nick_change(user, oldnick)
-        
+
+    def del_user(self, user, killer, why):
+        for plugin in self.newplugins:
+            plugin.del_user(user, killer, why)
+
+    def topic(self, who, chan, old_topic):
+        for plugin in self.newplugins:
+            if plugin.topic(who, chan, old_topic):
+                return 1
+        return 0
+
     def cmd_run(self, irc, cmd):
         #print "DEBUG: handler.cmd_run: %s"%cmd
         eval(cmd)