update mode list functions to not use args
This commit is contained in:
parent
50f7985c6d
commit
c9a4656163
1 changed files with 1 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue