]> jfr.im git - irc/evilnet/x3.git/blobdiff - src/modpython.py
Couple of srvx updates.
[irc/evilnet/x3.git] / src / modpython.py
index db23a52e3b4a2dd8cde6eba1f9397ff83aabae96..1f7c83c97606e2004651ab08fa4a69e68803eb5c 100644 (file)
@@ -86,6 +86,12 @@ class handler:
         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)