1
0
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:
Sébastien Helleu
2023-01-12 07:38:01 +01:00
parent 9174ec979b
commit 202b4d82c0
75 changed files with 127 additions and 51 deletions
+1 -1
View File
@@ -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;
+1
View File
@@ -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 : "-")