From a4fe023db76433f8a586bf0fe9cdf8e04c1ae091 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Sat, 27 May 2006 02:31:08 +0000
Subject: [PATCH] Bug-fix (copy/paste error apparently): PUT command uploads a
 file, so the file shouldn't need to already exist.

---
 exec/str_cmds.js | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/exec/str_cmds.js b/exec/str_cmds.js
index 70496d3b43..4678fd0005 100644
--- a/exec/str_cmds.js
+++ b/exec/str_cmds.js
@@ -648,10 +648,6 @@ function str_cmds(str)
 				if(str=="")
 					return;
 			}
-			if(!file_exists(str)) {
-				write(bbs.text(FileNotFound));
-				return;
-			}
 			if(!bbs.check_syspass())
 				return;
 
-- 
GitLab