From 6ab38d48cad06633bfe5a118c1c5a6877fba6d5a Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 20 May 2007 12:54:57 +0000 Subject: - 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 --- include/configreader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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); -- cgit v1.2.3