aboutsummaryrefslogtreecommitdiffstats
path: root/irc.h
diff options
context:
space:
mode:
authorMarius Halden <marius.h@lden.org>2015-11-08 16:11:08 +0100
committerMarius Halden <marius.h@lden.org>2016-05-07 14:24:24 +0200
commit338d8fed5e875048b6642f0ce54b6f25bd7ddcfb (patch)
tree2948aad367432146e0ab01607f6647468ff9abc5 /irc.h
parentbe652533d16a22dd1597e594b5845b8e2f1cde1e (diff)
Add support for owner/admin channel 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 2e0cc3d5..c579e618 100644
--- a/irc.h
+++ b/irc.h
@@ -198,10 +198,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 {