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:
committed by
Sebastien Helleu
parent
ebf94445b9
commit
e86ef9af6f
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user