mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-12 03:59:03 -04:00
Chdir to bin dir on starting, allows relative paths to the bin dir to always work even when we're not started from our dir
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7213 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
72948525ec
commit
1badc2dd1f
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user