diff options
| author | 2019-09-20 14:52:41 +0100 | |
|---|---|---|
| committer | 2019-09-20 14:52:41 +0100 | |
| commit | 47d38c7d185856fd81fddf94883009bbaf749e3c (patch) | |
| tree | 6d4b6bc9b30c1eeb837b9abb3d506db6b0799d18 /modules/config.py | |
| parent | improve !ud usage string (wrt #number) (diff) | |
| signature | ||
refactor all checks for channel_type to server.is_channel()
Diffstat (limited to 'modules/config.py')
| -rw-r--r-- | modules/config.py | 2 |
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 |
