diff --git a/core/src/main/groovy/com/muwire/core/chat/ChatServer.groovy b/core/src/main/groovy/com/muwire/core/chat/ChatServer.groovy index 47997cc6..ce48eddf 100644 --- a/core/src/main/groovy/com/muwire/core/chat/ChatServer.groovy +++ b/core/src/main/groovy/com/muwire/core/chat/ChatServer.groovy @@ -145,7 +145,7 @@ class ChatServer { if (settings.allowUntrusted && e.level == TrustLevel.NEUTRAL) return - ChatConnection connection = connections.remove(e.persona.destination) + ChatConnection connection = connections.get(e.persona.destination) connection?.close() }