]> jfr.im git - erebus.git/blobdiff - bot.py
bot - ignore parsemsg if user is IGNORED
[erebus.git] / bot.py
diff --git a/bot.py b/bot.py
index 2feb2532125179d2e3fc89ba6565be0d29fadd65..6324ecb1754e8aff9968011f291af038b56694bf 100644 (file)
--- a/bot.py
+++ b/bot.py
@@ -238,6 +238,7 @@ class Bot(object):
 
 
        def parsemsg(self, user, target, msg):
+               if user.glevel <= -2: return # short circuit if user is IGNORED
                chan = None
                chanparam = None # was the channel specified as part of the command?
                if len(msg) == 0: