From 338d8fed5e875048b6642f0ce54b6f25bd7ddcfb Mon Sep 17 00:00:00 2001 From: Marius Halden Date: Sun, 8 Nov 2015 16:11:08 +0100 Subject: Add support for owner/admin channel modes --- irc.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'irc.h') 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 { -- cgit v1.2.3