mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
e/I/O/q mode changes shouldn't change the visible channel mode.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2241 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
86cb263f68
commit
f8dd514805
@ -232,7 +232,6 @@ void parse_channel_modes(IRC_CHANNEL_REC *channel, const char *setby,
|
||||
else
|
||||
banlist_remove(channel, arg);
|
||||
break;
|
||||
|
||||
case 'o':
|
||||
case 'O': /* channel owner in !channels */
|
||||
if (g_strcasecmp(channel->server->nick, arg) == 0)
|
||||
@ -263,6 +262,12 @@ void parse_channel_modes(IRC_CHANNEL_REC *channel, const char *setby,
|
||||
channel->key = g_strdup(arg);
|
||||
}
|
||||
break;
|
||||
case 'e':
|
||||
case 'I':
|
||||
case 'O':
|
||||
case 'q':
|
||||
/* Don't set it as channel mode */
|
||||
break;
|
||||
|
||||
default:
|
||||
mode_set(newmode, type, *curmode);
|
||||
|
Loading…
Reference in New Issue
Block a user