diff --git a/src/client.cpp b/src/client.cpp | |
index 66aac62..3a4dd9d 100644 | |
--- a/src/client.cpp | |
+++ b/src/client.cpp | |
@@ -751,6 +751,11 @@ void Client::deletingPeer(con::Peer *peer, bool timeout) | |
infostream<<"Client::deletingPeer(): " | |
"Server Peer is getting deleted " | |
<<"(timeout="<<timeout<<")"<<std::endl; | |
+ | |
+ if (timeout) { | |
+ m_access_denied = true; | |
+ m_access_denied_reason = gettext("Connection timed out."); | |
+ } | |
} | |
/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment