From 0aac6a2b2ac1dca4783c4deeda5fdde031c8a612 Mon Sep 17 00:00:00 2001 From: w00t Date: Fri, 2 Jan 2009 18:45:12 +0000 Subject: Branch merge git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10933 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 2555ff25d..7e25aa217 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -516,7 +516,7 @@ InspIRCd::InspIRCd(int argc, char** argv) /* 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())) { strlcat(this->ConfigFileName, ".txt", MAXBUF); -- cgit v1.2.3