diff options
author | Timo Sirainen <cras@irssi.org> | 2001-06-26 13:49:51 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-06-26 13:49:51 +0000 |
commit | 4ad8ebba7e067f9af3feaf6d2afacf7212877d50 (patch) | |
tree | a4ef17a770d0454f932d6a1eb1e2ba92515a2e93 /src/core/log.c | |
parent | 3d2f2704c0dbb4c7bfab9a372ea18d79a82db97a (diff) | |
download | irssi-4ad8ebba7e067f9af3feaf6d2afacf7212877d50.zip |
"log rotate" signal added
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1560 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/log.c')
-rw-r--r-- | src/core/log.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/log.c b/src/core/log.c index 368de25f..9c39962a 100644 --- a/src/core/log.c +++ b/src/core/log.c @@ -175,6 +175,7 @@ static void log_rotate_check(LOG_REC *log) new_fname = log_filename(log); if (strcmp(new_fname, log->real_fname) != 0) { /* rotate log */ + signal_emit("log rotate", 1, log); log_stop_logging(log); log_start_logging(log); } |