summaryrefslogtreecommitdiff
path: root/src/uplink.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2021-05-31 20:57:48 +0100
committerSadie Powell <sadie@witchery.services>2021-05-31 20:57:48 +0100
commitdf4313f5bbacbfcb6592b6d90fe5362192287d59 (patch)
treef16f74b745083d6f8575d86c8d19565869c4d9c4 /src/uplink.cpp
parent53cd3f47b5c5afa503e96380e9e22d7d35108714 (diff)
parent3728a0bda1cf010520c4fae821fc9c98b2adb083 (diff)
Merge branch '2.0' into 2.1.
Diffstat (limited to 'src/uplink.cpp')
-rw-r--r--src/uplink.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/uplink.cpp b/src/uplink.cpp
index 7e8a15860..785ef88cd 100644
--- a/src/uplink.cpp
+++ b/src/uplink.cpp
@@ -94,14 +94,13 @@ UplinkSocket::~UplinkSocket()
}
IRCD->SendSquit(Me, Anope::QuitReason);
-
- this->ProcessWrite(); // Write out the last bit
}
for (unsigned i = Me->GetLinks().size(); i > 0; --i)
if (!Me->GetLinks()[i - 1]->IsJuped())
Me->GetLinks()[i - 1]->Delete(Me->GetName() + " " + Me->GetLinks()[i - 1]->GetName());
+ this->ProcessWrite(); // Write out the last bit
UplinkSock = NULL;
Me->Unsync();