X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/cc200171d7c40be3b204460f9c14d5d37e771866..dc34aae05e6e299a6c53c60b728d73ecb88b21bf:/src/extban.c diff --git a/src/extban.c b/src/extban.c index c8a04df..ca32f08 100644 --- a/src/extban.c +++ b/src/extban.c @@ -19,7 +19,6 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * USA * - * $Id: extban.c 1389 2006-05-20 19:19:00Z nenolod $ */ #include "stdinc.h" @@ -68,17 +67,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') {