]> jfr.im git - irc/quakenet/newserv.git/blobdiff - bans/bans.h
CHANSERV: remove E type escapes
[irc/quakenet/newserv.git] / bans / bans.h
index 741fc2eed254eb14f0f27fc0861db3c78135f12e..3ae1ff1a5af1030e29ba87d5f0e9a66e0d47c1b4 100644 (file)
@@ -3,6 +3,7 @@
 
 #include "../lib/flags.h"
 #include "../lib/sstring.h"
+#include "../lib/irc_ipv6.h"
 #include <time.h>
 
 #define CHANBAN_NICKEXACT   0x0001  /* Ban includes an exact nick (no wildcards) */
@@ -29,6 +30,8 @@ typedef struct chanban {
   sstring        *user;
   sstring        *host;
   time_t          timeset;
+  struct irc_in_addr ipaddr;
+  unsigned char   prefixlen;
   struct chanban *next;
 } chanban;