diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-02-09 20:15:09 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-02-09 20:15:09 +0000 |
commit | bfff1d9d93dccb9f0080b84d3933d47f2a6a1f6c (patch) | |
tree | 77f15e70f4cb3f1c397a0b981e208ceec622dd7c /src/inspircd.cpp | |
parent | 1af394d68bd6eb328a561acd9468fe272842c409 (diff) |
Implement LogManager::CloseLogs() to give logstreams a chance to clean up on rehash or exit.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8863 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index ef656cca9..aab09d799 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -103,7 +103,7 @@ void InspIRCd::Cleanup() } /* Close logging */ - // XXX we need to add a method to terminate all logstreams. + this->Logs->CloseLogs(); /* Cleanup Server Names */ for(servernamelist::iterator itr = servernames.begin(); itr != servernames.end(); ++itr) @@ -178,11 +178,6 @@ void InspIRCd::RehashUsersAndChans() delete old_chans; } -void InspIRCd::CloseLog() -{ - // XXX add a method to terminate all logstreams. -} - void InspIRCd::SetSignals() { #ifndef WIN32 |