1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

Fixed glib warning with autologging and queries.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@781 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-10-22 15:38:53 +00:00 committed by cras
parent c78f0d12c8
commit 9b459cfe46

View File

@ -408,6 +408,9 @@ static int sig_autoremove(void)
/* Close only logs with private messages */
logitem = log->items->data;
if (logitem->servertag == NULL)
continue;
server = server_find_tag(logitem->servertag);
if (logitem->type == LOG_ITEM_TARGET &&
server != NULL && !server->ischannel(*logitem->name))