diff options
author | madmaxoft <github@xoft.cz> | 2013-10-25 11:15:44 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-10-25 11:15:44 +0200 |
commit | 9e9198e0907d3d6fd353c683478007f418d86dd8 (patch) | |
tree | 9dd53b8f34532b135ae199e47a0e9e59d77a76f4 /source/PluginManager.cpp | |
parent | APIDump: Documented cMonster. (diff) | |
download | cuberite-9e9198e0907d3d6fd353c683478007f418d86dd8.tar cuberite-9e9198e0907d3d6fd353c683478007f418d86dd8.tar.gz cuberite-9e9198e0907d3d6fd353c683478007f418d86dd8.tar.bz2 cuberite-9e9198e0907d3d6fd353c683478007f418d86dd8.tar.lz cuberite-9e9198e0907d3d6fd353c683478007f418d86dd8.tar.xz cuberite-9e9198e0907d3d6fd353c683478007f418d86dd8.tar.zst cuberite-9e9198e0907d3d6fd353c683478007f418d86dd8.zip |
Diffstat (limited to '')
-rw-r--r-- | source/PluginManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/PluginManager.cpp b/source/PluginManager.cpp index a557bdc03..5ae70d48d 100644 --- a/source/PluginManager.cpp +++ b/source/PluginManager.cpp @@ -103,8 +103,8 @@ void cPluginManager::ReloadPluginsNow(void) cServer::BindBuiltInConsoleCommands(); - cIniFile IniFile("settings.ini"); - if (!IniFile.ReadFile()) + cIniFile IniFile; + if (!IniFile.ReadFile("settings.ini")) { LOGWARNING("cPluginManager: Can't find settings.ini, so can't load any plugins."); } |