diff options
Diffstat (limited to 'src/java/com/juick/http/www/Main.java')
-rw-r--r-- | src/java/com/juick/http/www/Main.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/com/juick/http/www/Main.java b/src/java/com/juick/http/www/Main.java index 249ae53c..c7295ce6 100644 --- a/src/java/com/juick/http/www/Main.java +++ b/src/java/com/juick/http/www/Main.java @@ -111,14 +111,14 @@ public class Main extends HttpServlet { String uri = request.getRequestURI(); if (uri.equals("/")) { - com.juick.User visitor = Utils.getVisitorUser(sql, request); + com.juick.User visitor = Utils.getVisitorUser(sql, request, response); if (visitor == null) { login.doGetLoginForm(sql, request, response); } else { home.doGet(sql, sqlSearch, request, response, visitor); } } else if (uri.equals("/post")) { - com.juick.User visitor = Utils.getVisitorUser(sql, request); + com.juick.User visitor = Utils.getVisitorUser(sql, request, response); if (visitor != null) { pagesNewMessage.doGetNewMessage(sql, request, response, visitor); } else { |