diff options
author | madmaxoft <github@xoft.cz> | 2013-10-26 19:43:34 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-10-26 19:43:34 +0200 |
commit | 52f88b9595f28c3c14ab1868dbed1eba1093c078 (patch) | |
tree | c8e9a5174269258e5a5caa9a1a8d22fe7475a3f7 /source/PluginManager.cpp | |
parent | cMonster: Improved doxycomments. (diff) | |
parent | APIDump: Documented cIniFile. (diff) | |
download | cuberite-52f88b9595f28c3c14ab1868dbed1eba1093c078.tar cuberite-52f88b9595f28c3c14ab1868dbed1eba1093c078.tar.gz cuberite-52f88b9595f28c3c14ab1868dbed1eba1093c078.tar.bz2 cuberite-52f88b9595f28c3c14ab1868dbed1eba1093c078.tar.lz cuberite-52f88b9595f28c3c14ab1868dbed1eba1093c078.tar.xz cuberite-52f88b9595f28c3c14ab1868dbed1eba1093c078.tar.zst cuberite-52f88b9595f28c3c14ab1868dbed1eba1093c078.zip |
Diffstat (limited to 'source/PluginManager.cpp')
-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."); } |