]> jfr.im git - erebus.git/blobdiff - modules/help.py
help bugfix
[erebus.git] / modules / help.py
index 97dd1de0d1b3be8c9b04fecdb4d37c45fcf52ce4..c53500e7824ef68e5a1b4f4d3cfb1771156922d7 100644 (file)
@@ -16,7 +16,7 @@ import modlib
 lib = modlib.modlib(__name__)
 def modstart(parent, *args, **kwargs):
        if parent.cfg.getboolean('erebus', 'nofakelag'):
-               lib.hook(needchan=False)(lib.help('[@<module>|<command>]', 'lists commands or describes a command', 'with @<module>, lists all commands in <module>')(help_nolag))
+               lib.hook('help', needchan=False)(lib.help('[@<module>|<command>]', 'lists commands or describes a command', 'with @<module>, lists all commands in <module>')(help_nolag))
        else:
                lib.hook(needchan=False)(lib.help("<command>", "describes a command")(help))
        return lib.modstart(parent, *args, **kwargs)