diff options
author | Adam <adam@sigterm.info> | 2013-12-14 22:55:10 -0800 |
---|---|---|
committer | Adam <adam@sigterm.info> | 2013-12-14 22:55:10 -0800 |
commit | 59df199aaedf8018979c444eaa8cca59ff001877 (patch) | |
tree | e7d873a3250f50b2ecb7c4bc47d7fcf7a9cefefd /src/inspircd.cpp | |
parent | 357d190074ee58809b31ea0c08543566168bddf6 (diff) | |
parent | ad47ea662698e72ff8f79b03512b1e7fe81bdf53 (diff) |
Merge pull request #689 from SaberUK/master+cxxify
Clean up various things.
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 368ca6e8b..de9287270 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -380,14 +380,14 @@ InspIRCd::InspIRCd(int argc, char** argv) : Logs->AddLogTypes("*", fls, true); } - if (!ServerConfig::FileExists(ConfigFileName.c_str())) + if (!FileSystem::FileExists(ConfigFileName)) { #ifdef _WIN32 /* Windows can (and defaults to) hide file extensions, so let's play a bit nice for windows users. */ std::string txtconf = this->ConfigFileName; txtconf.append(".txt"); - if (ServerConfig::FileExists(txtconf.c_str())) + if (FileSystem::FileExists(txtconf)) { ConfigFileName = txtconf; } |