summaryrefslogtreecommitdiff
path: root/include/configreader.h
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-20 12:54:57 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-20 12:54:57 +0000
commit6ab38d48cad06633bfe5a118c1c5a6877fba6d5a (patch)
treef70ff58a192db170dbd14527be1c6998f153bb7d /include/configreader.h
parentc3913b1f2fc192184baf5dbdbf12278b10dd1345 (diff)
- Modify ServerConfig::GetFullProgDir to just return cwd, previously it did a lot of voodoo that was a little hard to grasp, probably didn't quite accomplish what it should have, and broke on windows.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7063 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/configreader.h')
-rw-r--r--include/configreader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configreader.h b/include/configreader.h
index 096d1843a..d8d0a93d2 100644
--- a/include/configreader.h
+++ b/include/configreader.h
@@ -656,7 +656,7 @@ class CoreExport ServerConfig : public Extensible
bool AddIOHook(Module* iomod, InspSocket* is);
bool DelIOHook(InspSocket* is);
- static std::string GetFullProgDir(char** argv, int argc);
+ static std::string GetFullProgDir();
static bool DirValid(const char* dirandfile);
static char* CleanFilename(char* name);
static bool FileExists(const char* file);