aboutsummaryrefslogtreecommitdiff
path: root/juick-xmpp/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'juick-xmpp/src/main')
-rw-r--r--juick-xmpp/src/main/java/com/juick/components/XMPPServer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-xmpp/src/main/java/com/juick/components/XMPPServer.java b/juick-xmpp/src/main/java/com/juick/components/XMPPServer.java
index c57ed58e..6206914b 100644
--- a/juick-xmpp/src/main/java/com/juick/components/XMPPServer.java
+++ b/juick-xmpp/src/main/java/com/juick/components/XMPPServer.java
@@ -146,7 +146,7 @@ public class XMPPServer implements ConnectionListener, AutoCloseable {
}
outConnections.forEach((c, s) -> {
c.logoff();
- outConnections.remove(s);
+ outConnections.remove(c);
});
inConnections.forEach(c -> {
c.closeConnection();