summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 4e11318cc..f5db0cebd 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -388,6 +388,8 @@ InspIRCd::InspIRCd(int argc, char** argv)
this->Config->argv = argv;
this->Config->argc = argc;
+ chdir(Config->GetFullProgDir());
+
this->Config->opertypes.clear();
this->Config->operclass.clear();
this->SNO = new SnomaskManager(this);