summaryrefslogtreecommitdiffstats
path: root/src/Net/Connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Net/Connection.cpp')
-rw-r--r--src/Net/Connection.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Net/Connection.cpp b/src/Net/Connection.cpp
index da1ff3f..22f4570 100644
--- a/src/Net/Connection.cpp
+++ b/src/Net/Connection.cpp
@@ -281,6 +281,7 @@ void Connection::doDisconnect() {
peer = 0;
authenticated = false;
+ name.clear();
state = DISCONNECTED;
}