From b670ee74e06599f578949806219ac92798e19822 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Wed, 12 Sep 2012 21:28:30 +0200 Subject: Fixed channel filter using the wrong variable. --- fot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fot.py') diff --git a/fot.py b/fot.py index 9b0d548..264a4d9 100755 --- a/fot.py +++ b/fot.py @@ -102,7 +102,7 @@ class Bot(irc.IRCClient): mod = None # the module instance for channel in channel_list: - if not mod_re or mod_re.match('%s/%s' % (server, x)) != None: + if not mod_re or mod_re.match('%s/%s' % (server, channel)) != None: if not mod: mod = modules[m].Module(self) self.module_channels[channel].append(mod) -- cgit v1.2.3