diff options
Diffstat (limited to 'src/plugins/scripts/ruby')
-rw-r--r-- | src/plugins/scripts/ruby/weechat-ruby.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/scripts/ruby/weechat-ruby.c b/src/plugins/scripts/ruby/weechat-ruby.c index 11bc91f20..adb50a45a 100644 --- a/src/plugins/scripts/ruby/weechat-ruby.c +++ b/src/plugins/scripts/ruby/weechat-ruby.c @@ -1010,7 +1010,7 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[]) " if meth.to_s == 'weechat_init'\n" " has_init = true\n" " end\n" - " module_eval('module_function :' + meth)\n" + " module_eval('module_function :' + meth.to_s)\n" " end\n" "\n" " unless has_init\n" |