mirror of
https://github.com/weechat/weechat.git
synced 2026-06-25 12:26:40 +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 python scripts"));
|
||||
WEECHAT_PLUGIN_AUTHOR("Sébastien Helleu <flashcode@flashtux.org>");
|
||||
WEECHAT_PLUGIN_VERSION(WEECHAT_VERSION);
|
||||
WEECHAT_PLUGIN_LICENSE(WEECHAT_LICENSE);
|
||||
WEECHAT_PLUGIN_PRIORITY(4020);
|
||||
WEECHAT_PLUGIN_PRIORITY(PYTHON_PLUGIN_PRIORITY);
|
||||
|
||||
struct t_weechat_plugin *weechat_python_plugin = NULL;
|
||||
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
|
||||
#define weechat_plugin weechat_python_plugin
|
||||
#define PYTHON_PLUGIN_NAME "python"
|
||||
#define PYTHON_PLUGIN_PRIORITY 4020
|
||||
|
||||
#define PYTHON_CURRENT_SCRIPT_NAME ((python_current_script) ? python_current_script->name : "-")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user