X-Git-Url: https://jfr.im/git/erebus.git/blobdiff_plain/f5aec86546a7762dd0202f3983de22fe1c3814e9..e6b601930f87d83511f1af144d2ad40ea3162e17:/modules/control.py diff --git a/modules/control.py b/modules/control.py index e00d013..91b0eff 100644 --- a/modules/control.py +++ b/modules/control.py @@ -129,8 +129,8 @@ def auth(bot, user, chan, realtarget, *args): def qstat(bot, user, chan, realtarget, *args): bot.fastmsg(user, "Regular: %d -- Slow: %d" % (len(bot.msgqueue), len(bot.slowmsgqueue))) -@lib.hook(needchan=False, glevel=lib.ADMIN) -@lib.help(('qclear','clearq','clearqueue'), "[regular|slow]", "clears both or a specific msgqueue") +@lib.hook(('qclear','clearq','clearqueue'), needchan=False, glevel=lib.ADMIN) +@lib.help("[regular|slow]", "clears both or a specific msgqueue") def qclear(bot, user, chan, realtarget, *args): if len(args) == 0: bot.msgqueue = deque()