]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/server.cpp
w00t br0ked it! :p
[user/henk/code/inspircd.git] / src / server.cpp
index 2a30f3a37ba766744d41f955d20285cefa1f9a91..191c84ce0bdbe92a5362ebdb35e317942008ad06 100644 (file)
@@ -47,7 +47,7 @@ void InspIRCd::Exit(int status)
 void InspIRCd::Rehash()
 {
        this->SNO->WriteToSnoMask('A', "Rehashing config file %s due to SIGHUP",ServerConfig::CleanFilename(this->ConfigFileName));
-       this->CloseLog();
+       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();