aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2020-02-26 16:47:30 +0000
committerGravatar jesopo2020-02-26 16:47:30 +0000
commit725c1d3bfae528ca9ece51a736aaf6fb3b805125 (patch)
treed8637ed39123f08385769e5a1d3a2f44363f2a75
parentsupport !aban and !akickban for account bans (diff)
signature
masks should be a list, otherwise we iterate a string
-rw-r--r--modules/channel_op.py2
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)