From: zonidjan Date: Wed, 3 Jan 2018 03:37:42 +0000 (-0600) Subject: help - fix help_nolag X-Git-Url: https://jfr.im/git/erebus.git/commitdiff_plain/d4cfb340ddd9659422ec8a6a3ecf3abf25f00190 help - fix help_nolag --- diff --git a/modules/help.py b/modules/help.py index dc4e1b2..94c28ee 100644 --- a/modules/help.py +++ b/modules/help.py @@ -197,7 +197,7 @@ def help_nolag(bot, user, chan, realtarget, *args): cmd = str(' '.join(args)).lower() if cmd in cmds and user.glevel >= cmds[cmd].reqglevel: func = cmds[cmd] - bot.slowmsg(user, str(HelpLine(func.cmd[0], func.syntax, func.shorthelp, (user.glevel > 0), func.reqglevel, func.module))) + bot.slowmsg(user, str(HelpLine(func.cmd[0], func.syntax, func.shorthelp, (user.glevel > 0), func.reqglevel, func.module, func.reqclevel))) for line in func.longhelps: bot.slowmsg(user, " %s" % (line)) bot.slowmsg(user, "End of help for %s." % (func.cmd[0]))