]> jfr.im git - erebus.git/blobdiff - modlib.py
add admin_channel
[erebus.git] / modlib.py
index a04dd7878e22898f222cb06318ddcf6569b7e502..eeb7c4ea2acd353d9e6f94abdfe7e1c9baabedfa 100644 (file)
--- a/modlib.py
+++ b/modlib.py
@@ -50,11 +50,11 @@ class modlib(object):
        MASTER  =   4
        OP      =   3
        VOICE   =   2
-       #KNOWN  =   1 is set above by glevels
+       FRIEND  =   1
        PUBLIC  =   0 # Anyone (use glevel to control whether auth is needed)
        BANNED  =  -1 # The default reqclevel is PUBLIC, so any commands which needchan will be ignored from BANNED users unless the command reqclevel=-1
        #         [   0         1        2     3         4        5    -1]
-       clevs   = [None, 'Friend', 'Voice', 'Op', 'Master', 'Owner', None]
+       clevs   = [None, 'Friend', 'Voice', 'Op', 'Master', 'Owner', 'Banned']
 
        # messages
        WRONGARGS = "Wrong number of arguments."