From 01e05b8915df68d1fcbcd25a70376e2ba7dd6fa0 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Wed, 15 Sep 2004 06:18:34 +0000 Subject: [PATCH] Fixed bug #1028385. --- plugins/Enforcer.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/Enforcer.py b/plugins/Enforcer.py index 19c8bc9e6..e4b893d21 100644 --- a/plugins/Enforcer.py +++ b/plugins/Enforcer.py @@ -268,6 +268,8 @@ class Enforcer(callbacks.Privmsg): if not self.registryValue('takeRevenge.onOps', channel): return for (mode, value) in ircutils.separateModes(msg.args[1:]): + if not isinstance(value, basestring): + continue if ircutils.strEqual(value, msg.nick): continue elif mode == '+o':