diff options
| author | 2020-01-23 12:34:18 +0000 | |
|---|---|---|
| committer | 2020-01-23 12:34:18 +0000 | |
| commit | 022eed84f6611572aa96a06fa59517d61aec0b15 (patch) | |
| tree | 5c39571594f177f24be78b71090c7951e3d86d31 /src | |
| parent | search for QUIET prefix anywhere, not just at the start of string (diff) | |
| signature | ||
pull mode for RPL_(ENDOF)QUIETLIST from args[2]
Diffstat (limited to 'src')
| -rw-r--r-- | src/core_modules/mode_lists.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core_modules/mode_lists.py b/src/core_modules/mode_lists.py index affd991c..c951c842 100644 --- a/src/core_modules/mode_lists.py +++ b/src/core_modules/mode_lists.py @@ -12,10 +12,11 @@ class Module(ModuleManager.BaseModule): # RPL_QUIETLIST @utils.hook("received.728") def on_728(self, event): - self._mode_list_mask(event, "q", event["line"].args[3]) + mode = event["line"].args[2] + self._mode_list_mask(event, mode, event["line"].args[3]) @utils.hook("received.729") def on_729(self, event): - self._mode_list_end(event, "q") + self._mode_list_end(event, event["line"].args[2]) def _excepts(self, server): |
