1
0

Removed development plugins from settings file

This commit is contained in:
mathiascode 2017-03-11 12:55:05 +02:00 committed by Lukas Pioch
parent 836c9cf039
commit 4656be19b7
2 changed files with 1 additions and 3 deletions

View File

@ -161,9 +161,6 @@ void cPluginManager::ReloadPluginsNow(cSettingsRepositoryInterface & a_Settings)
void cPluginManager::InsertDefaultPlugins(cSettingsRepositoryInterface & a_Settings)
{
a_Settings.AddKeyName("Plugins");
a_Settings.AddKeyComment("Plugins", " Plugin=Debuggers");
a_Settings.AddKeyComment("Plugins", " Plugin=HookNotify");
a_Settings.AddKeyComment("Plugins", " Plugin=APIDump");
a_Settings.AddValue("Plugins", "Plugin", "Core");
a_Settings.AddValue("Plugins", "Plugin", "ChatLog");
}

View File

@ -260,6 +260,7 @@ bool cWebAdmin::LoadIniFile(void)
m_IniFile.AddHeaderComment(" Password format: Password=*password*; for example:");
m_IniFile.AddHeaderComment(" [User:admin]");
m_IniFile.AddHeaderComment(" Password=admin");
m_IniFile.AddHeaderComment(" Please restart Cuberite to apply changes made in this file!");
m_IniFile.SetValue("WebAdmin", "Ports", DEFAULT_WEBADMIN_PORTS);
m_IniFile.WriteFile("webadmin.ini");
}