aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/http/www/TwitterAuth.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/juick/http/www/TwitterAuth.java')
-rw-r--r--src/main/java/com/juick/http/www/TwitterAuth.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/http/www/TwitterAuth.java b/src/main/java/com/juick/http/www/TwitterAuth.java
index d6abaa75..421c6f64 100644
--- a/src/main/java/com/juick/http/www/TwitterAuth.java
+++ b/src/main/java/com/juick/http/www/TwitterAuth.java
@@ -45,7 +45,7 @@ public class TwitterAuth {
}
}
com.juick.User user = UserQueries.getUserByHash(sql, hash);
- if ( user == null || user.UID == 0) {
+ if ( user == null || user.getUID() == 0) {
response.sendError(403);
return;
}