(void)mode_type;
if (data != NULL)
- return IsOper(client_p) ? EXTBAN_MATCH : EXTBAN_NOMATCH;
+ /* $o:admin or whatever */
+ return HasPrivilege(client_p, data) ? EXTBAN_MATCH : EXTBAN_NOMATCH;
- /* $o:admin or whatever */
- return HasPrivilege(client_p, data) ? EXTBAN_MATCH : EXTBAN_NOMATCH;
+ return IsOper(client_p) ? EXTBAN_MATCH : EXTBAN_NOMATCH;
}