From 06ef9b523fc1b2a321dfb3a233cb36a97c51652f Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sat, 7 Sep 2002 18:16:59 +0000 Subject: [PATCH] autologs weren't closed when channel was left, or query was destroyed git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2911 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/core/fe-log.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/fe-common/core/fe-log.c b/src/fe-common/core/fe-log.c index 9362f6da..f4b6f4c5 100644 --- a/src/fe-common/core/fe-log.c +++ b/src/fe-common/core/fe-log.c @@ -591,7 +591,7 @@ static int sig_autoremove(void) return 1; } -static void sig_window_item_destroy(WINDOW_REC *window, WI_ITEM_REC *item) +static void sig_window_item_remove(WINDOW_REC *window, WI_ITEM_REC *item) { LOG_REC *log; @@ -709,7 +709,7 @@ void fe_log_init(void) command_bind("window log", NULL, (SIGNAL_FUNC) cmd_window_log); command_bind("window logfile", NULL, (SIGNAL_FUNC) cmd_window_logfile); signal_add_first("print text", (SIGNAL_FUNC) sig_printtext); - signal_add("window item destroy", (SIGNAL_FUNC) sig_window_item_destroy); + signal_add("window item remove", (SIGNAL_FUNC) sig_window_item_remove); signal_add("window refnum changed", (SIGNAL_FUNC) sig_window_refnum_changed); signal_add("server disconnected", (SIGNAL_FUNC) sig_server_disconnected); signal_add("log locked", (SIGNAL_FUNC) sig_log_locked); @@ -738,7 +738,7 @@ void fe_log_deinit(void) command_unbind("window log", (SIGNAL_FUNC) cmd_window_log); command_unbind("window logfile", (SIGNAL_FUNC) cmd_window_logfile); signal_remove("print text", (SIGNAL_FUNC) sig_printtext); - signal_remove("window item destroy", (SIGNAL_FUNC) sig_window_item_destroy); + signal_remove("window item remove", (SIGNAL_FUNC) sig_window_item_remove); signal_remove("window refnum changed", (SIGNAL_FUNC) sig_window_refnum_changed); signal_remove("server disconnected", (SIGNAL_FUNC) sig_server_disconnected); signal_remove("log locked", (SIGNAL_FUNC) sig_log_locked);