X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/212380e3f42f585dc1ea927402252eb943f91f7b..5274a6d761a756725be24da301b61f94ea87f63e:/extensions/extb_oper.c diff --git a/extensions/extb_oper.c b/extensions/extb_oper.c index e34d022..ff859aa 100644 --- a/extensions/extb_oper.c +++ b/extensions/extb_oper.c @@ -35,8 +35,10 @@ static int eb_oper(const char *data, struct Client *client_p, { (void)chptr; - (void)data; (void)mode_type; /* perhaps use data somehow? (opernick/flags?) */ + /* so deny any bans with data for now */ + if (data != NULL) + return EXTBAN_INVALID; return IsOper(client_p) ? EXTBAN_MATCH : EXTBAN_NOMATCH; }