From ff37678cc076af9590f0e9ef427445f3b3bfa65f Mon Sep 17 00:00:00 2001 From: Marius Halden Date: Fri, 6 Nov 2015 20:04:39 +0100 Subject: Add support for owner and admin modes --- irc.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'irc.h') 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 { -- cgit v1.2.3