mirror of
https://github.com/irssi/irssi.git
synced 2026-08-17 15:42:26 +02:00
Don't update channel key from 324 numeric, some servers send channel key as
"*" in it which breaks irssi. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2905 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
746ae09050
commit
1faed99b33
4 changed files with 8 additions and 8 deletions
|
|
@ -405,9 +405,9 @@ static void event_channel_mode(IRC_SERVER_REC *server, const char *data,
|
|||
if (chanrec->key != NULL && strchr(mode, 'k') == NULL) {
|
||||
/* we joined the channel with a key,
|
||||
but it didn't have +k mode.. */
|
||||
parse_channel_modes(chanrec, NULL, "-k");
|
||||
parse_channel_modes(chanrec, NULL, "-k", TRUE);
|
||||
}
|
||||
parse_channel_modes(chanrec, nick, mode);
|
||||
parse_channel_modes(chanrec, nick, mode, FALSE);
|
||||
channel_got_query(chanrec, CHANNEL_QUERY_MODE);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue