diff options
| author | 2009-09-24 01:44:29 +0000 | |
|---|---|---|
| committer | 2009-09-24 01:44:29 +0000 | |
| commit | c8026bc2d73344e1df526f0a80694046efa4b22a (patch) | |
| tree | 539e3bca92733aeff631fad70ecc6722550ef0b0 /include | |
| parent | Run configure -update on all svn/git changes (diff) | |
Move configuration filename specification to start script, to reduce hardcoded paths in executable
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11759 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
| -rw-r--r-- | include/configreader.h | 2 | ||||
| -rw-r--r-- | include/inspircd.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/configreader.h b/include/configreader.h index 45384b8a3..783af0942 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -698,7 +698,7 @@ class CoreExport ServerConfig : public classbase * @param name Directory to tidy * @return The cleaned filename */ - static char* CleanFilename(char* name); + static const char* CleanFilename(const char* name); /** Check if a file exists. * @param file The full path to a file diff --git a/include/inspircd.h b/include/inspircd.h index 72e49c09a..4c3aba95b 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -432,7 +432,7 @@ class CoreExport InspIRCd : public classbase /** Config file pathname specified on the commandline or via ./configure */ - char ConfigFileName[MAXBUF]; + std::string ConfigFileName; /** Mode handler, handles mode setting and removal */ |
