1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-09 11:13:12 +02:00

core: add priority in plugins to initialize them in order

Current order is: charset, logger, exec, trigger, aspell, alias, fifo, xfer,
irc, relay, guile/lua/perl/python/ruby/tcl, script.
This commit is contained in:
Sébastien Helleu
2015-01-15 07:40:38 +01:00
parent 66e0455951
commit cf5501f69c
38 changed files with 406 additions and 93 deletions
+1 -1
View File
@@ -4395,7 +4395,7 @@ COMMAND_CALLBACK(plugin)
&plugin_argc);
}
full_name = util_search_full_lib_name (argv[2], "plugins");
plugin_load (full_name, plugin_argc, plugin_argv);
plugin_load (full_name, 1, plugin_argc, plugin_argv);
if (full_name)
free (full_name);
if (plugin_argv)