summaryrefslogtreecommitdiff
path: root/fot.py
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2012-09-12 21:28:30 +0200
committerJon Bergli Heier <snakebite@jvnv.net>2012-09-12 21:28:30 +0200
commitb670ee74e06599f578949806219ac92798e19822 (patch)
treea7c54db3456e5e8f0dfe91d5b20e450cd1db007a /fot.py
parent08249697d409ed1814617bd030c942eff74a0808 (diff)
Fixed channel filter using the wrong variable.
Diffstat (limited to 'fot.py')
-rwxr-xr-xfot.py2
1 files changed, 1 insertions, 1 deletions
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)