diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2005-02-15 20:03:35 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2005-02-15 20:03:35 +0000 |
commit | 84f84823c9e6889072cdc6b3d7c0dbf1fb3dc00f (patch) | |
tree | cea5ed15f4b0b69cda69d598db420254aa6f26d1 /src/irc/irc.h | |
parent | 0d21ca207d05ffa06f071677067b634f512c07a9 (diff) | |
download | weechat-84f84823c9e6889072cdc6b3d7c0dbf1fb3dc00f.zip |
Added support for UnrealIrcd ("~" for chan owner, "&" for chan admin)
Diffstat (limited to 'src/irc/irc.h')
-rw-r--r-- | src/irc/irc.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/irc/irc.h b/src/irc/irc.h index cb079c406..d0aef2aac 100644 --- a/src/irc/irc.h +++ b/src/irc/irc.h @@ -77,6 +77,8 @@ typedef struct t_irc_nick t_irc_nick; struct t_irc_nick { char *nick; /* nickname */ + int is_chanowner; /* chan owner? (specific to unrealircd) */ + int is_chanadmin; /* chan admin? (specific to unrealircd) */ int is_op; /* operator privileges? */ int is_halfop; /* half operaor privileges? */ int has_voice; /* nick has voice? */ @@ -257,7 +259,7 @@ extern void channel_set_away (t_irc_channel *, char *, int); /* nick functions (irc-nick.c) */ -extern t_irc_nick *nick_new (t_irc_channel *, char *, int, int, int); +extern t_irc_nick *nick_new (t_irc_channel *, char *, int, int, int, int, int); extern void nick_resort (t_irc_channel *, t_irc_nick *); extern void nick_change (t_irc_channel *, t_irc_nick *, char *); extern void nick_free (t_irc_channel *, t_irc_nick *); |