mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
support for +O mode
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1465 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
4c8ad5a4c5
commit
88bfb3bf1e
@ -250,6 +250,7 @@ void parse_channel_modes(IRC_CHANNEL_REC *channel, const char *setby,
|
||||
break;
|
||||
|
||||
case 'o':
|
||||
case 'O': /* channel owner in !channels */
|
||||
if (g_strcasecmp(channel->server->nick, arg) == 0)
|
||||
channel->chanop = type == '+';
|
||||
nick_mode_change(channel, arg, '@', type);
|
||||
|
@ -6,8 +6,8 @@
|
||||
|
||||
/* modes that have argument always */
|
||||
#define HAS_MODE_ARG_ALWAYS(mode) \
|
||||
((mode) == 'b' || (mode) == 'e' || (mode) == 'I' || \
|
||||
(mode) == 'o' || (mode) == 'h' || (mode) == 'v' || (mode) == 'k')
|
||||
((mode) == 'b' || (mode) == 'e' || (mode) == 'I' || (mode) == 'k' || \
|
||||
(mode) == 'o' || (mode) == 'h' || (mode) == 'v' || (mode) == 'O')
|
||||
|
||||
/* modes that have argument when being set (+) */
|
||||
#define HAS_MODE_ARG_SET(mode) \
|
||||
|
Loading…
Reference in New Issue
Block a user