diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-02-25 17:31:04 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-02-25 17:31:04 +0100 |
commit | 17804ea08ba04002990791717c0e39dd01ca4ccc (patch) | |
tree | 4af66db1e818322fce5b543f37640c5ec138564d /src/plugins/scripts/ruby/weechat-ruby.c | |
parent | 8d23a7b4da158e6d3c2852ccb1cd89caaa894f79 (diff) | |
download | weechat-17804ea08ba04002990791717c0e39dd01ca4ccc.zip |
Fix bug with weechat_plugin_end() function, now returns "int" everywhere
Diffstat (limited to 'src/plugins/scripts/ruby/weechat-ruby.c')
-rw-r--r-- | src/plugins/scripts/ruby/weechat-ruby.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/scripts/ruby/weechat-ruby.c b/src/plugins/scripts/ruby/weechat-ruby.c index de69dd58d..b53f94dd0 100644 --- a/src/plugins/scripts/ruby/weechat-ruby.c +++ b/src/plugins/scripts/ruby/weechat-ruby.c @@ -701,7 +701,7 @@ weechat_plugin_init (struct t_weechat_plugin *plugin) * weechat_plugin_end: shutdown Ruby interface */ -void +int weechat_plugin_end (struct t_weechat_plugin *plugin) { /* make C compiler happy */ @@ -711,4 +711,6 @@ weechat_plugin_end (struct t_weechat_plugin *plugin) weechat_ruby_unload_all (); ruby_finalize(); + + return WEECHAT_RC_OK; } |