1
0
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:
Sebastien Helleu
2009-03-01 22:32:13 +01:00
parent 882be565c3
commit 371bf4b401
2 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -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) \