summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/inspircd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index f5db0cebd..e66d49a1e 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -388,7 +388,7 @@ InspIRCd::InspIRCd(int argc, char** argv)
this->Config->argv = argv;
this->Config->argc = argc;
- chdir(Config->GetFullProgDir());
+ chdir(Config->GetFullProgDir().c_str());
this->Config->opertypes.clear();
this->Config->operclass.clear();