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:
@@ -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;
|
||||
|
||||
|
||||
@@ -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 : "-")
|
||||
|
||||
Reference in New Issue
Block a user