aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/juick/ws/WebsocketComponent.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/ws/WebsocketComponent.java b/src/main/java/com/juick/ws/WebsocketComponent.java
index 8ccccb3b..d38f7b69 100644
--- a/src/main/java/com/juick/ws/WebsocketComponent.java
+++ b/src/main/java/com/juick/ws/WebsocketComponent.java
@@ -66,7 +66,7 @@ public class WebsocketComponent extends TextWebSocketHandler {
int MID = 0;
SocketSubscribed sockSubscr = null;
- if (hLocation.getPath().equals("/") && visitor.getUID() > 0) {
+ if (hLocation.getPath().equals("/")) {
logger.info(String.format("user %d connected", visitor.getUID()));
sockSubscr = new SocketSubscribed(session, hXRealIP, visitor, false);
} else if (hLocation.getPath().equals("/_all")) {