summaryrefslogtreecommitdiff
path: root/src/actions.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions.c')
-rw-r--r--src/actions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actions.c b/src/actions.c
index 6b96c66fa..4f2d047d2 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -95,7 +95,7 @@ void sqline(char *mask, char *reason)
for (c = chanlist[i]; c; c = next) {
next = c->next;
- if (!match_wild_nocase(mask, c->name)) {
+ if (!Anope::Match(c->name, mask, false)) {
continue;
}
for (cu = c->users; cu; cu = cunext) {