]> jfr.im git - erebus.git/commitdiff
modlib - add clevel-to-name map
authorzonidjan <redacted>
Sat, 9 Sep 2017 01:57:41 +0000 (20:57 -0500)
committerzonidjan <redacted>
Sat, 9 Sep 2017 01:57:41 +0000 (20:57 -0500)
modlib.py

index 9f59573eb6a9e7e20d4f83f4a5c2426c666edad2..7225ac7833f46ce46ae53f2b9e502e7b8d3fdb6e 100644 (file)
--- a/modlib.py
+++ b/modlib.py
@@ -30,6 +30,8 @@ class modlib(object):
        KNOWN   =   1
        PUBLIC  =   0 #anyone (use glevel to control auth-needed)
        BANNED  =  -1
+       #         [   0         1        2     3         4        5    -1]
+       clevs   = [None, 'Friend', 'Voice', 'Op', 'Master', 'Owner', None]
 
        # messages
        WRONGARGS = "Wrong number of arguments."