diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2011-02-16 12:54:37 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2011-02-16 12:54:37 +0100 |
commit | 82d7fca3f7d73789ae27d474e7a2f4212934290a (patch) | |
tree | 6718d4c5d15e523f585be272b32c754c3d044840 | |
parent | 986ed319394812344c77c2698758b657f1cc534d (diff) | |
download | weechat-82d7fca3f7d73789ae27d474e7a2f4212934290a.zip |
Fix array overflow in lua plugin for config reload callback
-rw-r--r-- | src/plugins/scripts/lua/weechat-lua-api.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/scripts/lua/weechat-lua-api.c b/src/plugins/scripts/lua/weechat-lua-api.c index 038d1cf0c..ba88f24db 100644 --- a/src/plugins/scripts/lua/weechat-lua-api.c +++ b/src/plugins/scripts/lua/weechat-lua-api.c @@ -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, |