diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2012-09-12 21:28:30 +0200 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2012-09-12 21:28:30 +0200 |
commit | b670ee74e06599f578949806219ac92798e19822 (patch) | |
tree | a7c54db3456e5e8f0dfe91d5b20e450cd1db007a | |
parent | 08249697d409ed1814617bd030c942eff74a0808 (diff) |
Fixed channel filter using the wrong variable.
-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) |