summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2012-12-24 15:19:32 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2012-12-24 15:19:32 +0000
commit28015f9000e17d9aa1f0d1e4f24a0caf5b63d9da (patch)
tree04c0e40dcc4426166943a81c459da4d69ef989d3 /include
parent6ab5c544269946d55c4dd5588f0f1389e3287ef4 (diff)
- Improved WEBIRC authentication; added 'webirc' to auth::flags
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1715 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'include')
-rw-r--r--include/conf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/conf.h b/include/conf.h
index 0c6b56b..b176cff 100644
--- a/include/conf.h
+++ b/include/conf.h
@@ -146,8 +146,10 @@ struct CidrItem
#define CONF_FLAGS_IN_DATABASE 0x00008000
#define CONF_FLAGS_EXEMPTRESV 0x00010000
#define CONF_FLAGS_SSL 0x00020000
+#define CONF_FLAGS_WEBIRC 0x00040000
/* Macros for struct MaskItem */
+#define IsConfWebIRC(x) ((x)->flags & CONF_FLAGS_WEBIRC)
#define IsLimitIp(x) ((x)->flags & CONF_FLAGS_LIMIT_IP)
#define IsNoTilde(x) ((x)->flags & CONF_FLAGS_NO_TILDE)
#define IsConfCanFlood(x) ((x)->flags & CONF_FLAGS_CAN_FLOOD)