mirror of
https://github.com/weechat/weechat.git
synced 2026-07-02 07:46:38 +02:00
Fix crash with IRC commands msg/notice/query/quote when executed with too few arguments (bug #25739)
This commit is contained in:
@@ -28,7 +28,7 @@ struct t_irc_server;
|
||||
irc_buffer_get_server_prefix (ptr_server, "error"), \
|
||||
IRC_PLUGIN_NAME, \
|
||||
__command); \
|
||||
return WEECHAT_RC_ERROR;
|
||||
return WEECHAT_RC_OK;
|
||||
|
||||
#define IRC_COMMAND_CHECK_SERVER(__command, __check_connection) \
|
||||
if (!ptr_server) \
|
||||
|
||||
Reference in New Issue
Block a user