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:
Timo Sirainen 2002-08-27 19:42:23 +00:00 committed by cras
commit 1faed99b33
4 changed files with 8 additions and 8 deletions

View file

@ -101,10 +101,10 @@ static void event_names_list(IRC_SERVER_REC *server, const char *data)
we know better, so parse_channel_modes() won't clear the key */
if (*type == '*') {
parse_channel_modes(chanrec, NULL,
chanrec->key ? "+kp" : "+p");
chanrec->key ? "+kp" : "+p", FALSE);
} else if (*type == '@') {
parse_channel_modes(chanrec, NULL,
chanrec->key ? "+ks" : "+s");
chanrec->key ? "+ks" : "+s", FALSE);
}
while (*names != '\0') {