diff options
| author | 2020-02-26 16:47:30 +0000 | |
|---|---|---|
| committer | 2020-02-26 16:47:30 +0000 | |
| commit | 725c1d3bfae528ca9ece51a736aaf6fb3b805125 (patch) | |
| tree | d8637ed39123f08385769e5a1d3a2f44363f2a75 /modules/channel_op.py | |
| parent | support !aban and !akickban for account bans (diff) | |
| signature | ||
masks should be a list, otherwise we iterate a string
Diffstat (limited to 'modules/channel_op.py')
| -rw-r--r-- | modules/channel_op.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/channel_op.py b/modules/channel_op.py index 489ac429..7456990c 100644 --- a/modules/channel_op.py +++ b/modules/channel_op.py @@ -422,7 +422,7 @@ class Module(ModuleManager.BaseModule): users = args = [] if event["spec"][1][0] == "user": - masks = self._get_hostmask(event["spec"][0], event["spec"][1][1]) + masks = [self._get_hostmask(event["spec"][0], event["spec"][1][1])] elif event["spec"][1][0] == "word": masks = self._list_query_event(event["spec"][0], event["spec"][1][1], mode, prefix) |
