diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2021-10-14 21:00:47 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2021-10-14 21:00:47 +0200 |
commit | d8b8bf5a84363cbcdc632c33153f3400c251a1ad (patch) | |
tree | 22cc0827267a6a5f253c0ec9c307cadbb91bfc57 /src | |
parent | 238c17bd0ed8fe00b7538faf961ae761bef08a4b (diff) | |
download | weechat-d8b8bf5a84363cbcdc632c33153f3400c251a1ad.zip |
tests: check displayed message/error for all simulated IRC commands received
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/irc/irc-ctcp.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/irc/irc-ctcp.h b/src/plugins/irc/irc-ctcp.h index 6b5ba65df..809d98505 100644 --- a/src/plugins/irc/irc-ctcp.h +++ b/src/plugins/irc/irc-ctcp.h @@ -32,12 +32,16 @@ struct t_irc_ctcp_reply }; extern const char *irc_ctcp_get_default_reply (const char *ctcp); +extern const char *irc_ctcp_get_reply (struct t_irc_server *server, + const char *ctcp); extern void irc_ctcp_display_reply_from_nick (struct t_irc_server *server, time_t date, const char *command, const char *nick, const char *address, const char *arguments); +extern char *irc_ctcp_replace_variables (struct t_irc_server *server, + const char *format); extern void irc_ctcp_recv (struct t_irc_server *server, time_t date, const char *command, struct t_irc_channel *channel, const char *address, const char *nick, |