aboutsummaryrefslogtreecommitdiff
path: root/src/java/com/juick/http/www/User.java
diff options
context:
space:
mode:
authorGravatar Ugnich Anton2013-07-21 23:36:07 +0700
committerGravatar Ugnich Anton2013-07-21 23:36:07 +0700
commitc37d78969da40f4238573bbee2c533c878ea3844 (patch)
tree02a592aa81ad7bfdffdf46b99527bd596a791580 /src/java/com/juick/http/www/User.java
parent3692155bcddc13886bbbc0fd89bb4a4e3a24c88d (diff)
Signup/Login bugfixes
Diffstat (limited to 'src/java/com/juick/http/www/User.java')
-rw-r--r--src/java/com/juick/http/www/User.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/com/juick/http/www/User.java b/src/java/com/juick/http/www/User.java
index 3f1fe4a3..83226089 100644
--- a/src/java/com/juick/http/www/User.java
+++ b/src/java/com/juick/http/www/User.java
@@ -74,7 +74,7 @@ public class User {
int privacy = 0;
if (visitor != null) {
- if (user.UID == visitor.UID) {
+ if (user.UID == visitor.UID || visitor.UID == 1) {
privacy = -3;
} else if (UserQueries.isInWL(sql, user.UID, visitor.UID)) {
privacy = -2;