1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 14:26:39 +02:00

Added command line arguments to disable auto-connect to servers and plugins auto-load

This commit is contained in:
Sebastien Helleu
2005-10-30 19:22:53 +00:00
parent e5754e1fe6
commit be1c9be925
20 changed files with 736 additions and 584 deletions
+2 -2
View File
@@ -851,7 +851,7 @@ plugin_unload_all ()
*/
void
plugin_init ()
plugin_init (int auto_load)
{
char *list_plugins, *pos, *pos2;
@@ -859,7 +859,7 @@ plugin_init ()
plugin_config_read ();
/* auto-load plugins if asked */
if (cfg_plugins_autoload && cfg_plugins_autoload[0])
if (auto_load && cfg_plugins_autoload && cfg_plugins_autoload[0])
{
if (ascii_strcasecmp (cfg_plugins_autoload, "*") == 0)
plugin_auto_load ();