]> jfr.im git - erebus.git/blobdiff - modules/foo.py
stafflist - add online nicks
[erebus.git] / modules / foo.py
index 0171182cffd7e22010a75cea5455985cdf14596c..ea91a9f77285df703043f01334ab83a3c058a8de 100644 (file)
@@ -43,6 +43,7 @@ def needchan(bot, user, chan, realtarget, *args):
 
 @lib.hook(needchan=False, wantchan=True)
 @lib.help(None, 'a command which will consume a channel if given')
+def wantchan(bot, user, chan, realtarget, *args):
        if chan is not None:
                bot.msg(user, "Channel provided: %s" % (chan))
        else: