summaryrefslogtreecommitdiff
path: root/src/uplink.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2014-10-12 14:32:17 -0400
committerAdam <Adam@anope.org>2014-10-12 14:32:17 -0400
commit5ceee5df3854e71ce1c8da409fe50a705efae8ad (patch)
tree06d3f5591cce172a971645e27aa58ffe842dc0b5 /src/uplink.cpp
parent1c1297695894fd543554b1a063b1dee990594885 (diff)
Hide dumb user notice if we are quitting
Diffstat (limited to 'src/uplink.cpp')
-rw-r--r--src/uplink.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uplink.cpp b/src/uplink.cpp
index 8f54794a2..86851fc50 100644
--- a/src/uplink.cpp
+++ b/src/uplink.cpp
@@ -66,7 +66,7 @@ UplinkSocket::UplinkSocket() : Socket(-1, Config->Uplinks[Anope::CurrentUplink].
UplinkSocket::~UplinkSocket()
{
- if (!error)
+ if (!error && !Anope::Quitting)
{
this->OnError("");
Module *protocol = ModuleManager::FindFirstOf(PROTOCOL);