mirror of
https://github.com/irssi/irssi.git
synced 2026-08-16 23:22:16 +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
|
|
@ -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') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue