1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-04 16:53:14 +02:00

irc: remove parameters argc/argv/argv_eol from command callbacks

This commit is contained in:
Sébastien Helleu
2021-10-16 23:01:07 +02:00
parent f1cb767001
commit 9063546acc
3 changed files with 25 additions and 105 deletions
@@ -97,11 +97,6 @@ extern char *irc_protocol_cap_to_enable (const char *capabilities,
FAIL(string_dyn_free (msg, 0)); \
}
#define CHECK_ERROR_ARGS(__command, __args, __expected_args) \
CHECK_SRV("=!= irc: too few arguments received from IRC server " \
"for command \"" __command "\" (received: " #__args " " \
"arguments, expected: at least " #__expected_args ")");
#define CHECK_ERROR_PARAMS(__command, __params, __expected_params) \
CHECK_SRV("=!= irc: too few parameters received in command " \
"\"" __command "\" (received: " #__params ", " \