Author: Isomer <isomer@coders.net>
[ircu2.10.12-pk.git] / include / gline.h
index d623e856639a178b01c8f6b5d219e73aca6e94ea..4a904664b0f57a88058a18d2844b13d7c1ef2a39 100644 (file)
@@ -30,6 +30,7 @@
 #define INCLUDED_sys_types_h
 #endif
 
+#include <netinet/in.h>
 
 struct Client;
 
@@ -43,6 +44,8 @@ struct Gline {
   char        *gl_reason;
   time_t       gl_expire;
   time_t       gl_lastmod;
+  struct in_addr ipnum;  /* We store the IP in binary for ip glines */
+  char                 bits;
   unsigned int gl_flags;
 };