summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2014-03-01 18:47:05 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2014-03-01 18:47:05 +0000
commit5a2b7989cb4d5ede8bd756b1373279f0dc5b9e4e (patch)
tree14f5c5b5518a419e047a5b4e31f71c3bd149546d /include
parent330fd1fdfbec967e16efcd57b4b2049d968754b6 (diff)
- conf_class.h: use an enum for flag types
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3088 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'include')
-rw-r--r--include/conf_class.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/conf_class.h b/include/conf_class.h
index 282e91a..587b83f 100644
--- a/include/conf_class.h
+++ b/include/conf_class.h
@@ -28,10 +28,12 @@
#ifndef INCLUDED_conf_class_h
#define INCLUDED_conf_class_h
-#define CLASS_FLAGS_FAKE_IDLE 0x01
-#define CLASS_FLAGS_RANDOM_IDLE 0x02
-#define CLASS_FLAGS_HIDE_IDLE_FROM_OPERS 0x04
-
+enum
+{
+ CLASS_FLAGS_FAKE_IDLE = 1 << 0,
+ CLASS_FLAGS_RANDOM_IDLE = 1 << 1,
+ CLASS_FLAGS_HIDE_IDLE_FROM_OPERS = 1 << 2
+};
struct ClassItem
{