]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/extban.c
Do not create directories under PREFIX while building.
[irc/rqf/shadowircd.git] / src / extban.c
index f02c98c42b197ad7a96cda0d5ebbb5db1215e3a7..8890fccaf638732167e123d0810341604d6dd741 100644 (file)
@@ -23,7 +23,6 @@
  */
 
 #include "stdinc.h"
-#include "tools.h"
 #include "channel.h"
 #include "client.h"
 #include "common.h"
@@ -69,17 +68,14 @@ int
 valid_extban(const char *banstr, struct Client *client_p, struct Channel *chptr, long mode_type)
 {
        const char *p;
-       int invert = 0, result = EXTBAN_INVALID;
+       int result = EXTBAN_INVALID;
        ExtbanFunc f;
 
        if (*banstr != '$')
                return 0;
        p = banstr + 1;
        if (*p == '~')
-       {
-               invert = 1;
                p++;
-       }
        f = extban_table[(unsigned char) ToLower(*p)];
        if (*p != '\0')
        {