1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 20:36:38 +02:00

Fix array overflow in lua plugin for config reload callback

This commit is contained in:
Sebastien Helleu
2011-02-16 12:54:37 +01:00
parent 986ed31939
commit 82d7fca3f7
@@ -1258,7 +1258,6 @@ weechat_lua_api_config_reload_cb (void *data,
{
lua_argv[0] = (script_callback->data) ? script_callback->data : empty_arg;
lua_argv[1] = script_ptr2str (config_file);
lua_argv[2] = NULL;
rc = (int *) weechat_lua_exec (script_callback->script,
WEECHAT_SCRIPT_EXEC_INT,