summaryrefslogtreecommitdiff
path: root/src/plugins/relay
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 /src/plugins/relay
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.
Diffstat (limited to 'src/plugins/relay')
-rw-r--r--src/plugins/relay/relay-client.c4
1 files changed, 2 insertions, 2 deletions
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);
}