summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2014-09-26 04:09:25 +0200
committerSébastien Helleu <flashcode@flashtux.org>2014-09-26 04:09:25 +0200
commitc99df96ebdaec7c97558e1a7f053076cd48df7d0 (patch)
treebfbf91cd446230ce9f2696416061450b3f5cd4ae
parentc1aa51fa9c9143729455c2fe19b70965abd82375 (diff)
downloadweechat-c99df96ebdaec7c97558e1a7f053076cd48df7d0.zip
relay: fix send of signals "relay_client_xxx" (closes #214)
The signals about relay client status changes were sent only when the client has ended. Now it is went on any status change.
-rw-r--r--ChangeLog.asciidoc1
-rw-r--r--src/plugins/relay/relay-client.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/ChangeLog.asciidoc b/ChangeLog.asciidoc
index 8c02c8a5d..d511de407 100644
--- a/ChangeLog.asciidoc
+++ b/ChangeLog.asciidoc
@@ -51,6 +51,7 @@ http://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
* irc: fix translation of CTCP PING reply (closes #137)
* guile: fix compilation with Guile < 2.0.4 (closes #198)
* perl: fix detection of Perl >= 5.20 with autotools
+* relay: fix send of signals "relay_client_xxx" (closes #214)
* script: fix crash on "/script update" if a script detail is displayed in
buffer (closes #177)
* trigger: do not allow any changes on a trigger when it is currently running
diff --git a/src/plugins/relay/relay-client.c b/src/plugins/relay/relay-client.c
index b596d15ce..8714d33de 100644
--- a/src/plugins/relay/relay-client.c
+++ b/src/plugins/relay/relay-client.c
@@ -1374,10 +1374,10 @@ relay_client_set_status (struct t_relay_client *client,
gnutls_deinit (client->gnutls_sess);
#endif
}
-
- relay_client_send_signal (client);
}
+ relay_client_send_signal (client);
+
relay_buffer_refresh (WEECHAT_HOTLIST_MESSAGE);
}