]> jfr.im git - solanum.git/blobdiff - ircd/extban.c
Track and inform modules of privset changes
[solanum.git] / ircd / extban.c
index 40c6dd7d6885fa3be12e06cde269198904218082..f99d3fcaedc035d26ae8e924797f0d704c004639 100644 (file)
@@ -1,5 +1,5 @@
 /*
- *  charybdis: A slightly useful ircd.
+ *  Solanum: a slightly advanced ircd
  *  extban.c: extended ban types ($type:data)
  *
  * Copyright (C) 2006 charybdis development team
@@ -23,7 +23,6 @@
 #include "stdinc.h"
 #include "channel.h"
 #include "client.h"
-#include "common.h"
 
 ExtbanFunc extban_table[256] = { NULL };
 
@@ -42,7 +41,7 @@ match_extban(const char *banstr, struct Client *client_p, struct Channel *chptr,
                invert = 1;
                p++;
        }
-       f = extban_table[(unsigned char) ToLower(*p)];
+       f = extban_table[(unsigned char) irctolower(*p)];
        if (*p != '\0')
        {
                p++;
@@ -74,7 +73,7 @@ valid_extban(const char *banstr, struct Client *client_p, struct Channel *chptr,
        p = banstr + 1;
        if (*p == '~')
                p++;
-       f = extban_table[(unsigned char) ToLower(*p)];
+       f = extban_table[(unsigned char) irctolower(*p)];
        if (*p != '\0')
        {
                p++;
@@ -99,7 +98,7 @@ get_extban_string(void)
 
        j = 0;
        for (i = 1; i < 256; i++)
-               if (i == ToLower(i) && extban_table[i])
+               if (i == irctolower(i) && extban_table[i])
                        e[j++] = i;
        e[j] = 0;
        return e;