diff options
author | Marius Halden <marius.h@lden.org> | 2015-11-06 20:04:39 +0100 |
---|---|---|
committer | Marius Halden <marius.h@lden.org> | 2015-11-06 20:07:04 +0100 |
commit | ff37678cc076af9590f0e9ef427445f3b3bfa65f (patch) | |
tree | 9d23fc3566210f25b73ad71d087fe3185827c021 /irc.h | |
parent | 2f99f232386d32d6c6c3d85484ac35b771911997 (diff) |
Add support for owner and admin modes
Diffstat (limited to 'irc.h')
-rw-r--r-- | irc.h | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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 { |