summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authormathiascode <mathiascode@users.noreply.github.com>2017-03-11 11:55:05 +0100
committerLukas Pioch <lukas@zgow.de>2017-03-19 21:54:01 +0100
commit4656be19b7b150827cd5c1d7c6f0566d2347a5d6 (patch)
treeeb03a30fa18255e8f35cc90524441b8ca6fca077 /src
parentMerge pull request #3633 from cuberite/player_detach (diff)
downloadcuberite-4656be19b7b150827cd5c1d7c6f0566d2347a5d6.tar
cuberite-4656be19b7b150827cd5c1d7c6f0566d2347a5d6.tar.gz
cuberite-4656be19b7b150827cd5c1d7c6f0566d2347a5d6.tar.bz2
cuberite-4656be19b7b150827cd5c1d7c6f0566d2347a5d6.tar.lz
cuberite-4656be19b7b150827cd5c1d7c6f0566d2347a5d6.tar.xz
cuberite-4656be19b7b150827cd5c1d7c6f0566d2347a5d6.tar.zst
cuberite-4656be19b7b150827cd5c1d7c6f0566d2347a5d6.zip
Diffstat (limited to 'src')
-rw-r--r--src/Bindings/PluginManager.cpp3
-rw-r--r--src/WebAdmin.cpp1
2 files changed, 1 insertions, 3 deletions
diff --git a/src/Bindings/PluginManager.cpp b/src/Bindings/PluginManager.cpp
index 631f8f6bc..066ccf9d7 100644
--- a/src/Bindings/PluginManager.cpp
+++ b/src/Bindings/PluginManager.cpp
@@ -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");
}
diff --git a/src/WebAdmin.cpp b/src/WebAdmin.cpp
index ee5d536f9..ba74613d6 100644
--- a/src/WebAdmin.cpp
+++ b/src/WebAdmin.cpp
@@ -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");
}