aboutsummaryrefslogtreecommitdiffstats
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorGravatar Attila Molnar2014-01-05 15:04:01 +0100
committerGravatar Attila Molnar2014-01-05 15:04:01 +0100
commit11916574f67962dce1d7a2fdf7ef6a3d2d1fa49f (patch)
tree1c3c602de5512a62e2db96652ddd540e6e53e821 /src/inspircd.cpp
parentRemove useless ULine() checks (diff)
downloadinspircd++-11916574f67962dce1d7a2fdf7ef6a3d2d1fa49f.tar.gz
inspircd++-11916574f67962dce1d7a2fdf7ef6a3d2d1fa49f.tar.bz2
inspircd++-11916574f67962dce1d7a2fdf7ef6a3d2d1fa49f.zip
Introduce Server class
- Replaces std::string server in User - Replaces InspIRCd::ULine() and SilentULine()
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index de9287270..50feab459 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -120,7 +120,10 @@ void InspIRCd::Cleanup()
/* Delete objects dynamically allocated in constructor (destructor would be more appropriate, but we're likely exiting) */
/* Must be deleted before modes as it decrements modelines */
if (FakeClient)
+ {
+ delete FakeClient->server;
FakeClient->cull();
+ }
DeleteZero(this->FakeClient);
DeleteZero(this->Users);
DeleteZero(this->Modes);