aboutsummaryrefslogtreecommitdiff
path: root/modules/channel_op.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/channel_op.py')
-rw-r--r--modules/channel_op.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/modules/channel_op.py b/modules/channel_op.py
index ddbb30bc..f8a49fae 100644
--- a/modules/channel_op.py
+++ b/modules/channel_op.py
@@ -404,14 +404,9 @@ class Module(ModuleManager.BaseModule):
else:
raise utils.EventError("Unknown type '%s'" % type)
- def _list_query_event(self, server, channel, type, mask):
- list_type = args[0]
+ def _list_query_event(self, server, channel, list_type, list_mask):
list_mode, list_prefix = self._type_to_mode(server, channel, list_type)
- list_mask = None
- if len(args) > 1:
- list_mask = args[1]
-
mode_list = list(channel.mode_lists[list_mode])
if list_prefix:
mode_list = self._filter_prefix(list_prefix, mode_list)