[freenet-cvs] r12608 - trunk/freenet/src/freenet/node/fcp
nextgens at freenetproject.org
nextgens at freenetproject.org
Thu Apr 12 15:13:28 UTC 2007
Author: nextgens
Date: 2007-04-12 15:13:28 +0000 (Thu, 12 Apr 2007)
New Revision: 12608
Modified:
trunk/freenet/src/freenet/node/fcp/ClientPut.java
Log:
That constructor is only accessed from the QueueToadlet, we don't want the dda check in that case
Modified: trunk/freenet/src/freenet/node/fcp/ClientPut.java
===================================================================
--- trunk/freenet/src/freenet/node/fcp/ClientPut.java 2007-04-12 15:11:08 UTC (rev 12607)
+++ trunk/freenet/src/freenet/node/fcp/ClientPut.java 2007-04-12 15:13:28 UTC (rev 12608)
@@ -89,8 +89,6 @@
if(uploadFromType == ClientPutMessage.UPLOAD_FROM_DISK) {
if(!globalClient.core.allowUploadFrom(origFilename))
throw new NotAllowedException();
- else if(!globalClient.getConnection().allowDDAFrom(origFilename, false))
- throw new NotAllowedException();
}
logMINOR = Logger.shouldLog(Logger.MINOR, this);
this.targetFilename = targetFilename;
More information about the cvs
mailing list