mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02:00
Netsplit fixes
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@663 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
0790ad02f6
commit
e316475afd
2 changed files with 4 additions and 1 deletions
|
|
@ -121,6 +121,9 @@ static NETSPLIT_REC *netsplit_add(IRC_SERVER_REC *server, const char *nick, cons
|
|||
rec->channels = g_slist_append(rec->channels, splitchan);
|
||||
}
|
||||
|
||||
if (rec->channels == NULL)
|
||||
g_warning("netsplit_add(): channels == NULL ??");
|
||||
|
||||
g_hash_table_insert(server->splits, rec->nick, rec);
|
||||
|
||||
signal_emit("netsplit add", 1, rec);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue