From 16a2d0c9d32330959a8f682e3b132f09eed16c62 Mon Sep 17 00:00:00 2001 From: Ed Kellett Date: Thu, 20 May 2021 08:08:47 +0100 Subject: [PATCH] Use MayHavePrivilege for oper:message --- modules/um_callerid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/um_callerid.c b/modules/um_callerid.c index 63290f45..12b9033b 100644 --- a/modules/um_callerid.c +++ b/modules/um_callerid.c @@ -103,7 +103,7 @@ allow_message(struct Client *source_p, struct Client *target_p) return true; /* XXX: controversial? allow opers to send through +g */ - if (HasPrivilege(source_p, "oper:message")) + if (MayHavePrivilege(source_p, "oper:message")) return true; if (accept_message(source_p, target_p))