]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - extensions/extb_oper.c
Recommend EFNet's RBL instead of DroneBL due to trustworthiness issues.
[irc/rqf/shadowircd.git] / extensions / extb_oper.c
index e34d02216d9495f1c8bd71f017725a1a97af9661..ff859aa4035a7c29aac6e5119cc3099ac3fdd553 100644 (file)
@@ -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;
 }