diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2014-02-10 17:42:53 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2014-02-10 17:42:53 +0100 |
commit | 437767c0ca37ab06d0f2c2ff2831c7ebe1c3e61f (patch) | |
tree | cc89ab5a0aa0d9a7fe280fcac8e72dcf590937eb /src/plugins/relay | |
parent | a0bf3938f18c275fe585639db7ad9d945e462d94 (diff) | |
download | weechat-437767c0ca37ab06d0f2c2ff2831c7ebe1c3e61f.zip |
api: add integer return code for functions hook_{signal|hsignal}_send
Diffstat (limited to 'src/plugins/relay')
-rw-r--r-- | src/plugins/relay/irc/relay-irc.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/plugins/relay/irc/relay-irc.c b/src/plugins/relay/irc/relay-irc.c index 5b805e9f7..c2327158b 100644 --- a/src/plugins/relay/irc/relay-irc.c +++ b/src/plugins/relay/irc/relay-irc.c @@ -1146,9 +1146,8 @@ relay_irc_input_send (struct t_relay_client *client, const char *irc_channel, RELAY_PLUGIN_NAME, buf); } - weechat_hook_signal_send ("irc_input_send", - WEECHAT_HOOK_SIGNAL_STRING, - buf); + (void) weechat_hook_signal_send ("irc_input_send", + WEECHAT_HOOK_SIGNAL_STRING, buf); free (buf); } free (vbuffer); @@ -1729,8 +1728,8 @@ relay_irc_recv (struct t_relay_client *client, const char *data) */ if (redirect_msg) { - weechat_hook_hsignal_send ("irc_redirect_command", - hash_redirect); + (void) weechat_hook_hsignal_send ("irc_redirect_command", + hash_redirect); } weechat_hashtable_free (hash_redirect); } |