diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/inspircd.cpp | 2 |
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); |