mirror of
https://github.com/weechat/weechat.git
synced 2026-06-29 22:36:38 +02:00
plugins: set priority in calls to weechat_config_new (issue #1872)
This commit is contained in:
@@ -40,7 +40,7 @@ WEECHAT_PLUGIN_DESCRIPTION(N_("Support of lua scripts"));
|
||||
WEECHAT_PLUGIN_AUTHOR("Sébastien Helleu <flashcode@flashtux.org>");
|
||||
WEECHAT_PLUGIN_VERSION(WEECHAT_VERSION);
|
||||
WEECHAT_PLUGIN_LICENSE(WEECHAT_LICENSE);
|
||||
WEECHAT_PLUGIN_PRIORITY(4050);
|
||||
WEECHAT_PLUGIN_PRIORITY(LUA_PLUGIN_PRIORITY);
|
||||
|
||||
struct t_weechat_plugin *weechat_lua_plugin = NULL;
|
||||
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
|
||||
#define weechat_plugin weechat_lua_plugin
|
||||
#define LUA_PLUGIN_NAME "lua"
|
||||
#define LUA_PLUGIN_PRIORITY 4050
|
||||
|
||||
#define LUA_CURRENT_SCRIPT_NAME ((lua_current_script) ? lua_current_script->name : "-")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user