diff options
-rw-r--r-- | src/jrummikub/control/network/ConnectionControl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jrummikub/control/network/ConnectionControl.java b/src/jrummikub/control/network/ConnectionControl.java index 897d0f5..9e8446d 100644 --- a/src/jrummikub/control/network/ConnectionControl.java +++ b/src/jrummikub/control/network/ConnectionControl.java @@ -598,7 +598,7 @@ public class ConnectionControl implements IConnectionControl { XMPPError xmppError = e.getXMPPError(); if (xmppError != null) { - if (xmppError.getType() == Type.CANCEL && xmppError.getCode() == 504) { + if (xmppError.getType() == Type.WAIT && xmppError.getCode() == 504) { return LoginError.UNKNOWN_HOST; } } |