1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-29 04:45:57 -04: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:
Timo Sirainen 2001-12-14 00:42:25 +00:00 committed by cras
parent 86cb263f68
commit f8dd514805

View File

@ -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);