From 41bcf2c5a47613a487a500244d331815f8bf4aa7 Mon Sep 17 00:00:00 2001 From: w00t Date: Sat, 3 Jan 2009 16:45:55 +0000 Subject: Remove extra 'i'.. oopsie :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10939 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/inspircd.cpp') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index ec3381293..2555ff25d 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"); - i + if (ServerConfig::FileExists(txtconf.c_str())) { strlcat(this->ConfigFileName, ".txt", MAXBUF); -- cgit v1.2.3