summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2010-02-02 14:28:05 +0100
committerSebastien Helleu <flashcode@flashtux.org>2010-02-02 14:28:05 +0100
commit8862f19788912eda95c29b25474b5ccfd34233a7 (patch)
treea9f2d4a33eb16ed34409f1be1103b73c81584e2e
parent5aa82a85e3e0e972ed14455cf6cabf3efd259ada (diff)
downloadweechat-8862f19788912eda95c29b25474b5ccfd34233a7.zip
Add signal "xfer_ended" (patch #7081)
-rw-r--r--ChangeLog1
-rw-r--r--src/plugins/xfer/xfer.c2
2 files changed, 3 insertions, 0 deletions
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);