Module: suggest register_handlers() for XML-RPC

This commit is contained in:
Brian S. Stephan 2012-12-20 10:41:31 -06:00
parent 08d08d537e
commit 455abc0b8a
1 changed files with 2 additions and 0 deletions

View File

@ -70,6 +70,8 @@ class Module(object):
common variables and then calls do(). You are free to implement do()
(see below), or override this and do whatever you want.
Modules interested in doing so might also register XML-RPC stuff here.
"""
self.irc.server.add_global_handler('pubmsg', self.on_pub_or_privmsg,