From 547e7e9b382255b1699ff897f40fb4ed659c3360 Mon Sep 17 00:00:00 2001 From: danieldg Date: Tue, 13 Oct 2009 00:43:52 +0000 Subject: Remove needless chdir() from inspircd executable git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11865 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/inspircd.cpp') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 56e43c3ed..a932b95e1 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -401,15 +401,6 @@ InspIRCd::InspIRCd(int argc, char** argv) : this->Config->argv = argv; this->Config->argc = argc; - if (chdir(Config->GetFullProgDir().c_str())) - { - printf("Unable to change to my directory: %s\nAborted.", strerror(errno)); - exit(0); - } - - this->Config->opertypes.clear(); - this->Config->operclass.clear(); - this->TIME = this->OLDTIME = this->startup_time = time(NULL); srand(this->TIME); -- cgit v1.2.3