Author: toad
Date: 2007-07-14 20:33:33 +0000 (Sat, 14 Jul 2007)
New Revision: 14125

Modified:
   trunk/freenet/src/freenet/clients/http/ConnectionsToadlet.java
Log:
another doh

Modified: trunk/freenet/src/freenet/clients/http/ConnectionsToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/ConnectionsToadlet.java      
2007-07-14 20:31:21 UTC (rev 14124)
+++ trunk/freenet/src/freenet/clients/http/ConnectionsToadlet.java      
2007-07-14 20:33:33 UTC (rev 14125)
@@ -482,7 +482,7 @@
        public void handlePost(URI uri, final HTTPRequest request, 
ToadletContext ctx) throws ToadletContextClosedException, IOException, 
RedirectException {
                boolean logMINOR = Logger.shouldLog(Logger.MINOR, this);

-               if(acceptRefPosts()) {
+               if(!acceptRefPosts()) {
                        super.sendErrorPage(ctx, 403, "Unauthorized", 
L10n.getString("Toadlet.unauthorized"));
                        return;
                }


Reply via email to