fix number of args in end function call

This commit is contained in:
Emmanuel Bouthenot 2006-05-17 08:58:56 +00:00
parent a47e4a9567
commit 87aa03b2cf
2 changed files with 2 additions and 2 deletions

View File

@ -1645,7 +1645,7 @@ weechat_ruby_unload (t_weechat_plugin *plugin, t_plugin_script *script)
script->name);
if (script->shutdown_func[0])
weechat_ruby_exec (plugin, script, script->shutdown_func, "", "", "");
weechat_ruby_exec (plugin, script, script->shutdown_func, NULL, NULL, NULL);
if (script->interpreter)
rb_gc_unregister_address (script->interpreter);

View File

@ -1645,7 +1645,7 @@ weechat_ruby_unload (t_weechat_plugin *plugin, t_plugin_script *script)
script->name);
if (script->shutdown_func[0])
weechat_ruby_exec (plugin, script, script->shutdown_func, "", "", "");
weechat_ruby_exec (plugin, script, script->shutdown_func, NULL, NULL, NULL);
if (script->interpreter)
rb_gc_unregister_address (script->interpreter);