summaryrefslogtreecommitdiff
path: root/src/fe-common
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-09-07 18:16:59 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-09-07 18:16:59 +0000
commit06ef9b523fc1b2a321dfb3a233cb36a97c51652f (patch)
tree41566e2c7b6540cf2c080c99e4963927deaf6c41 /src/fe-common
parent910749a2a04175207afa4de27a2a578329171f39 (diff)
downloadirssi-06ef9b523fc1b2a321dfb3a233cb36a97c51652f.zip
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
Diffstat (limited to 'src/fe-common')
-rw-r--r--src/fe-common/core/fe-log.c6
1 files 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);