1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-01 23:36:37 +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
@@ -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;
+2
View File
@@ -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 : "-")