diff options
author | Timo Sirainen <cras@irssi.org> | 2004-01-25 18:18:18 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2004-01-25 18:18:18 +0000 |
commit | 33e7528edb3a22bbc90f122a948fb47e22df4bd0 (patch) | |
tree | 55a016fbadfbbe271f7aad07fafe3014e79c69be /src/irc/core/modes.h | |
parent | d94a55a38b50f13b846b8f9b506a8614a5f2d485 (diff) | |
download | irssi-33e7528edb3a22bbc90f122a948fb47e22df4bd0.zip |
isupport updates
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3219 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/core/modes.h')
-rw-r--r-- | src/irc/core/modes.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/irc/core/modes.h b/src/irc/core/modes.h index d5af8403..70b19042 100644 --- a/src/irc/core/modes.h +++ b/src/irc/core/modes.h @@ -30,6 +30,11 @@ struct modes_type { ((type) == '+' ? HAS_MODE_ARG_SET(server,mode) : \ HAS_MODE_ARG_UNSET(server, mode)) +#define GET_MODE_PREFIX(server, c) \ + ((server)->modes[(int)(unsigned char)c].prefix) +#define GET_PREFIX_MODE(server, c) \ + ((server)->prefix[(int)(unsigned char)c]) + void modes_init(void); void modes_deinit(void); void modes_server_init(IRC_SERVER_REC *); |