1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-02 07:46:38 +02:00

Fix scripts loading with Ruby 1.9.2

This commit is contained in:
Stefano Pigozzi
2010-10-17 11:43:26 +02:00
committed by Sebastien Helleu
parent ebf94445b9
commit e86ef9af6f
+1 -1
View File
@@ -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"