summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/configreader.h2
-rw-r--r--include/inspircd.h2
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
*/