diff options
| author | 2024-08-27 14:09:21 +0100 | |
|---|---|---|
| committer | 2024-08-27 14:09:21 +0100 | |
| commit | a5fc0da690ea62c3a76ca2cceaa2ab344a93fce3 (patch) | |
| tree | d0c81a7700ac184b50417f146204dfbcda502811 /src/inspircd.cpp | |
| parent | Merge branch 'insp4' into master. (diff) | |
Fix the case of some InspIRCd class member variables.
Diffstat (limited to 'src/inspircd.cpp')
| -rw-r--r-- | src/inspircd.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 94d19f80f..882cb2e79 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -377,12 +377,12 @@ namespace void InspIRCd::Cleanup() { // Close all listening sockets - for (auto* port : ports) + for (auto* port : Ports) { port->Cull(); delete port; } - ports.clear(); + Ports.clear(); // Tell modules that we're shutting down. const std::string quitmsg = "Server shutting down"; @@ -434,12 +434,11 @@ void InspIRCd::WritePID() } InspIRCd::InspIRCd(int argc, char** argv) + : StartTime(time(NULL)) { ServerInstance = this; UpdateTime(); - this->startup_time = Time(); - IncreaseCoreDumpSize(); SocketEngine::Init(); |
