diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2023-01-12 07:38:01 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2023-01-28 15:13:34 +0100 |
commit | 202b4d82c0b233a891e9e1a303833c15ae86e1d4 (patch) | |
tree | 74d6313c5ae93957adba3cd4f7d4f615d533d0c3 /src/plugins/php | |
parent | 9174ec979b4cdd7d06f973c096636a833cbb0188 (diff) | |
download | weechat-202b4d82c0b233a891e9e1a303833c15ae86e1d4.zip |
plugins: set priority in calls to weechat_config_new (issue #1872)
Diffstat (limited to 'src/plugins/php')
-rw-r--r-- | src/plugins/php/weechat-php.c | 2 | ||||
-rw-r--r-- | src/plugins/php/weechat-php.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/php/weechat-php.c b/src/plugins/php/weechat-php.c index 4e557d31a..97b9723ef 100644 --- a/src/plugins/php/weechat-php.c +++ b/src/plugins/php/weechat-php.c @@ -53,7 +53,7 @@ WEECHAT_PLUGIN_DESCRIPTION(N_("Support of PHP scripts")); WEECHAT_PLUGIN_AUTHOR("Adam Saponara <as@php.net>"); WEECHAT_PLUGIN_VERSION(WEECHAT_VERSION); WEECHAT_PLUGIN_LICENSE(WEECHAT_LICENSE); -WEECHAT_PLUGIN_PRIORITY(4030); +WEECHAT_PLUGIN_PRIORITY(PHP_PLUGIN_PRIORITY); struct t_weechat_plugin *weechat_php_plugin = NULL; diff --git a/src/plugins/php/weechat-php.h b/src/plugins/php/weechat-php.h index ffe3cf841..331b352ee 100644 --- a/src/plugins/php/weechat-php.h +++ b/src/plugins/php/weechat-php.h @@ -36,6 +36,8 @@ #define weechat_plugin weechat_php_plugin #define PHP_PLUGIN_NAME "php" +#define PHP_PLUGIN_PRIORITY 4030 + #define PHP_WEECHAT_VERSION "0.1" #define PHP_CURRENT_SCRIPT_NAME ((php_current_script) ? php_current_script->name : "-") |