summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/inspircd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 229d228ca..385bef8e3 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -523,7 +523,7 @@ InspIRCd::InspIRCd(int argc, char** argv)
{
#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;
+ std::string txtconf = this->ConfigFileName;
txtconf.append(".txt");
if (ServerConfig::FileExists(txtconf.c_str()))