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))