minor comment update following the recent register_handlers() change
This commit is contained in:
parent
594c4d297d
commit
5f29d12561
|
@ -51,7 +51,7 @@ class Module(object):
|
||||||
def register_handlers(self, server):
|
def register_handlers(self, server):
|
||||||
"""
|
"""
|
||||||
Hook handler functions into the IRC library. This is called by __init__ and sets
|
Hook handler functions into the IRC library. This is called by __init__ and sets
|
||||||
up server.add_global_handlers. Classes inheriting from Module should implement this
|
up server.add_global_handlers. Classes inheriting from Module could implement this
|
||||||
and set up the appropriate handlers, e.g.:
|
and set up the appropriate handlers, e.g.:
|
||||||
|
|
||||||
server.add_global_handler('privmsg', self.on_privmsg)
|
server.add_global_handler('privmsg', self.on_privmsg)
|
||||||
|
|
Loading…
Reference in New Issue