]> jfr.im git - erebus.git/commitdiff
fix help module with nolag
authorJohn Runyon <redacted>
Sun, 18 Jun 2023 07:30:18 +0000 (01:30 -0600)
committerJohn Runyon <redacted>
Sun, 18 Jun 2023 07:30:18 +0000 (01:30 -0600)
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.")