]> jfr.im git - erebus.git/blobdiff - modules/help.py
fix help module with nolag
[erebus.git] / modules / help.py
index 6774fe4c4446e9784b570965fc6d165dec74c78c..d510af7f0167fed19d396abc2e39aba4f979df91 100644 (file)
@@ -197,7 +197,7 @@ def help_nolag(bot, user, chan, realtarget, *args):
        if len(args) == 0: # list commands
                lines = []
                for func in helps.values():
-                       lines += _mkhelp(user, func)
+                       lines += _mkhelp(user.glevel, func)
                for line in sorted(lines):
                        bot.slowmsg(user, str(line))
                bot.slowmsg(user, "End of command listing.")