aboutsummaryrefslogtreecommitdiff
path: root/modules/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/config.py')
-rw-r--r--modules/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/config.py b/modules/config.py
index 27161cca..ce325724 100644
--- a/modules/config.py
+++ b/modules/config.py
@@ -53,7 +53,7 @@ class Module(ModuleManager.BaseModule):
else:
#we're in a channel
return channel, "channelset", None
- if context_desc_lower[0] in server.channel_types:
+ elif server.is_channel(context_desc):
return context_desc, "channelset", context_desc
elif server.irc_lower(context_desc) == user.nickname_lower:
return user, "set", None