Author: Kev <klmitch@mit.edu>
[ircu2.10.12-pk.git] / include / s_conf.h
index 7742f93568007bf9dbfb5f1950a7d21c0b92f714..b72ea17469e503cb9298ace19689b779985aec1d 100644 (file)
@@ -84,11 +84,14 @@ struct DenyConf {
   char*               message;
   char*               usermask;
   unsigned int        s_addr;
-  char                is_file;
-  char                ip_kill;
+  unsigned int        flags;
   char                bits;        /* Number of bits for ipkills */
 };
 
+#define DENY_FLAGS_FILE     0x0001 /* Comment is a filename */
+#define DENY_FLAGS_IP       0x0002 /* K-line by IP address */
+#define DENY_FLAGS_REALNAME 0x0004 /* K-line by real name */
+
 /*
  * A line: A:<line 1>:<line 2>:<line 3>
  */