summaryrefslogtreecommitdiff
path: root/kike.c
diff options
context:
space:
mode:
Diffstat (limited to 'kike.c')
-rw-r--r--kike.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/kike.c b/kike.c
index b4f4434..c48eb3c 100644
--- a/kike.c
+++ b/kike.c
@@ -1818,8 +1818,11 @@ mode_processor_do_list (struct mode_processor *self,
return;
}
+ if (!mode_processor_check_operator (self))
+ return;
+
char *mask = irc_check_expand_user_mask (target);
- if (!mode_processor_check_operator (self) || !mask)
+ if (!mask)
return;
size_t i;