aboutsummaryrefslogtreecommitdiff
path: root/src/client/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/client.cpp')
-rw-r--r--src/client/client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/client.cpp b/src/client/client.cpp
index e078dc530..93a403e81 100644
--- a/src/client/client.cpp
+++ b/src/client/client.cpp
@@ -803,7 +803,7 @@ void Client::deletingPeer(con::Peer *peer, bool timeout)
m_access_denied = true;
if (timeout)
m_access_denied_reason = gettext("Connection timed out.");
- else
+ else if (m_access_denied_reason.empty())
m_access_denied_reason = gettext("Connection aborted (protocol error?).");
}