]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - extensions/extb_oper.c
Backed out changeset c04f6578869c
[irc/rqf/shadowircd.git] / extensions / extb_oper.c
index e34d02216d9495f1c8bd71f017725a1a97af9661..5c1f62f20b1d99b14b2af384a1158ca04264b307 100644 (file)
@@ -2,7 +2,6 @@
  * Oper extban type: matches opers
  * -- jilles
  *
- * $Id: extb_oper.c 1299 2006-05-11 15:43:03Z jilles $
  */
 
 #include "stdinc.h"
@@ -35,8 +34,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;
 }