diff options
author | Timo Sirainen <cras@irssi.org> | 2001-12-14 00:42:25 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-12-14 00:42:25 +0000 |
commit | f8dd5148057369c165a701f31e50db64266e51cf (patch) | |
tree | 89ba526856051f1e82a27dad31458a1133fc6ec7 /src | |
parent | 86cb263f68830c28a4e357a9932dd31b312dcf60 (diff) | |
download | irssi-f8dd5148057369c165a701f31e50db64266e51cf.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/irc/core/modes.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/irc/core/modes.c b/src/irc/core/modes.c index c1a66153..936a7a28 100644 --- a/src/irc/core/modes.c +++ b/src/irc/core/modes.c @@ -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); |