From 8862f19788912eda95c29b25474b5ccfd34233a7 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Tue, 2 Feb 2010 14:28:05 +0100 Subject: Add signal "xfer_ended" (patch #7081) --- ChangeLog | 1 + src/plugins/xfer/xfer.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/ChangeLog b/ChangeLog index 95529528a..fc544dadd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -22,6 +22,7 @@ Version 0.3.2 (under dev!) * irc: fix compilation with old GnuTLS versions (bug #28723) * logger: allow date format in logger options path and mask (task #9430) * xfer: fix crash when purging old xfer chats (bug #28764) +* xfer: add signal "xfer_ended" (patch #7081) Version 0.3.1.1 (2010-01-31) ---------------------------- diff --git a/src/plugins/xfer/xfer.c b/src/plugins/xfer/xfer.c index 9fb4f8c5d..cdc0ceea7 100644 --- a/src/plugins/xfer/xfer.c +++ b/src/plugins/xfer/xfer.c @@ -265,6 +265,8 @@ xfer_close (struct t_xfer *xfer, enum t_xfer_status status) if (XFER_HAS_ENDED(xfer->status)) { + xfer_send_signal (xfer, "xfer_ended"); + if (xfer->hook_fd) { weechat_unhook (xfer->hook_fd); -- cgit v1.2.3