aboutsummaryrefslogtreecommitdiffstats
path: root/src/server.cpp
diff options
context:
space:
mode:
authorGravatar aquanight2008-02-15 13:30:46 +0000
committerGravatar aquanight2008-02-15 13:30:46 +0000
commit11f1f2126c3e1f1cb91f5d6e273eba2850ca61a8 (patch)
tree8bd6949852d761fe8976d4195af26653c3e702b8 /src/server.cpp
parentChange string for Om <3 (diff)
downloadinspircd++-11f1f2126c3e1f1cb91f5d6e273eba2850ca61a8.tar.gz
inspircd++-11f1f2126c3e1f1cb91f5d6e273eba2850ca61a8.tar.bz2
inspircd++-11f1f2126c3e1f1cb91f5d6e273eba2850ca61a8.zip
Make -nofork work properly with logging now.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8944 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/server.cpp')
-rw-r--r--src/server.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/server.cpp b/src/server.cpp
index 191c84ce0..102fb35d3 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -47,9 +47,6 @@ void InspIRCd::Exit(int status)
void InspIRCd::Rehash()
{
this->SNO->WriteToSnoMask('A', "Rehashing config file %s due to SIGHUP",ServerConfig::CleanFilename(this->ConfigFileName));
- this->Logs->CloseLogs();
- if (!this->OpenLog(this->Config->argv, this->Config->argc))
- this->SNO->WriteToSnoMask('A', "ERROR: Could not open logfile %s: %s", Config->logpath.c_str(), strerror(errno));
this->RehashUsersAndChans();
FOREACH_MOD_I(this, I_OnGarbageCollect, OnGarbageCollect());
/*this->Config->Read(false,NULL);*/