From 725c1d3bfae528ca9ece51a736aaf6fb3b805125 Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 26 Feb 2020 16:47:30 +0000 Subject: [PATCH] masks should be a list, otherwise we iterate a string --- modules/channel_op.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)