1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-27 21:36:37 +02:00

irc: fix number of required parameters in generic error command callback

This commit is contained in:
Sébastien Helleu
2021-10-14 21:26:46 +02:00
parent 4ee82d1c70
commit 7b4d48c46d
+1 -1
View File
@@ -1275,7 +1275,7 @@ IRC_PROTOCOL_CALLBACK(generic_error)
struct t_irc_channel *ptr_channel;
struct t_gui_buffer *ptr_buffer;
IRC_PROTOCOL_MIN_PARAMS(1);
IRC_PROTOCOL_MIN_PARAMS(2);
arg_error = (irc_server_strcasecmp (server, params[0], server->nick) == 0) ?
1 : 0;