diff options
Diffstat (limited to 'fot.py')
-rwxr-xr-x | fot.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |