diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-10-13 00:43:52 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-10-13 00:43:52 +0000 |
commit | 547e7e9b382255b1699ff897f40fb4ed659c3360 (patch) | |
tree | 3c98932a043d0f03df5fc29bd2b3e821797e93b5 /src/configreader.cpp | |
parent | 382cac82df89b4fc45340a94968bb3eaeeb5f19b (diff) |
Remove needless chdir() from inspircd executable
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11865 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r-- | src/configreader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp index b8d675ef1..540653567 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -1673,7 +1673,7 @@ bool ServerConfig::DoInclude(const std::string &file, bool allowexeinc) if ((newfile[0] != '/') && (!StartsWithWindowsDriveLetter(newfile))) { - pos = confpath.rfind("/") + pos = confpath.rfind("/"); if(pos != std::string::npos) { /* Leaves us with just the path */ |