From 87aa03b2cf7afbae783a7b286729cb832ee350e5 Mon Sep 17 00:00:00 2001 From: Emmanuel Bouthenot Date: Wed, 17 May 2006 08:58:56 +0000 Subject: [PATCH] fix number of args in end function call --- src/plugins/scripts/ruby/weechat-ruby.c | 2 +- weechat/src/plugins/scripts/ruby/weechat-ruby.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/scripts/ruby/weechat-ruby.c b/src/plugins/scripts/ruby/weechat-ruby.c index 6e0767f6b..bec60c180 100644 --- a/src/plugins/scripts/ruby/weechat-ruby.c +++ b/src/plugins/scripts/ruby/weechat-ruby.c @@ -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); diff --git a/weechat/src/plugins/scripts/ruby/weechat-ruby.c b/weechat/src/plugins/scripts/ruby/weechat-ruby.c index 6e0767f6b..bec60c180 100644 --- a/weechat/src/plugins/scripts/ruby/weechat-ruby.c +++ b/weechat/src/plugins/scripts/ruby/weechat-ruby.c @@ -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);