mirror of
https://github.com/irssi/irssi.git
synced 2024-10-27 05:20:20 -04:00
When disconnecting from server when you had queries without active server
irssi printed some glib errors. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1549 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
a128998010
commit
4da53bb5f4
@ -347,6 +347,7 @@ static void sig_server_disconnected(SERVER_REC *server)
|
||||
|
||||
logitem = log->items->data;
|
||||
if (logitem->type == LOG_ITEM_TARGET &&
|
||||
logitem->servertag != NULL &&
|
||||
g_strcasecmp(logitem->servertag, server->tag) == 0)
|
||||
log_close(log);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user