diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2013-01-11 10:27:26 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2013-01-11 10:27:26 +0100 |
commit | f1580f5276ecef80f49ea12f58c3cc657acfd8ad (patch) | |
tree | 7f245dd35d23dfa3d360f768dd365fb5e495ecbc /src/plugins/relay | |
parent | 3c782bd905bcf983391e65b1be17bc40fbcd1b74 (diff) | |
download | weechat-f1580f5276ecef80f49ea12f58c3cc657acfd8ad.zip |
relay: add debug message for signal "irc_disconnected"
Diffstat (limited to 'src/plugins/relay')
-rw-r--r-- | src/plugins/relay/irc/relay-irc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/plugins/relay/irc/relay-irc.c b/src/plugins/relay/irc/relay-irc.c index 9b5f88b1c..9ddc35942 100644 --- a/src/plugins/relay/irc/relay-irc.c +++ b/src/plugins/relay/irc/relay-irc.c @@ -495,6 +495,12 @@ relay_irc_signal_irc_disc_cb (void *data, const char *signal, client = (struct t_relay_client *)data; + if (weechat_relay_plugin->debug >= 2) + { + weechat_printf (NULL, "%s: irc_disconnected: data: %s", + RELAY_PLUGIN_NAME, (char *)signal_data); + } + if (strcmp ((char *)signal_data, client->protocol_args) == 0) { relay_client_set_status (client, RELAY_STATUS_DISCONNECTED); |