aboutsummaryrefslogtreecommitdiffstats
path: root/irc.h
diff options
context:
space:
mode:
authorMarius Halden <marius.h@lden.org>2015-11-06 20:04:39 +0100
committerMarius Halden <marius.h@lden.org>2015-11-06 20:07:04 +0100
commitff37678cc076af9590f0e9ef427445f3b3bfa65f (patch)
tree9d23fc3566210f25b73ad71d087fe3185827c021 /irc.h
parent2f99f232386d32d6c6c3d85484ac35b771911997 (diff)
Add support for owner and admin modes
Diffstat (limited to 'irc.h')
-rw-r--r--irc.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/irc.h b/irc.h
index 8b2e4947..02b307df 100644
--- a/irc.h
+++ b/irc.h
@@ -186,10 +186,12 @@ struct irc_channel_funcs {
};
typedef enum {
- IRC_CHANNEL_USER_OP = 1,
- IRC_CHANNEL_USER_HALFOP = 2,
- IRC_CHANNEL_USER_VOICE = 4,
- IRC_CHANNEL_USER_NONE = 8,
+ IRC_CHANNEL_USER_OWNER = 1,
+ IRC_CHANNEL_USER_ADMIN = 2,
+ IRC_CHANNEL_USER_OP = 4,
+ IRC_CHANNEL_USER_HALFOP = 8,
+ IRC_CHANNEL_USER_VOICE = 16,
+ IRC_CHANNEL_USER_NONE = 32,
} irc_channel_user_flags_t;
typedef struct irc_channel_user {