mirror of
https://github.com/weechat/weechat.git
synced 2026-06-28 05:46:38 +02:00
lua: remote string "Lua" from Lua version in output of /debug libs
This commit is contained in:
@@ -1269,7 +1269,10 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
|
||||
/* set interpreter name and version */
|
||||
weechat_hashtable_set (plugin->variables, "interpreter_name",
|
||||
plugin->name);
|
||||
#ifdef LUA_VERSION
|
||||
#if defined(LUA_VERSION_MAJOR) && defined(LUA_VERSION_MINOR)
|
||||
weechat_hashtable_set (plugin->variables, "interpreter_version",
|
||||
LUA_VERSION_MAJOR "." LUA_VERSION_MINOR);
|
||||
#elif LUA_VERSION
|
||||
weechat_hashtable_set (plugin->variables, "interpreter_version",
|
||||
LUA_VERSION);
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user