summaryrefslogtreecommitdiff
path: root/fot.py
diff options
context:
space:
mode:
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)