From 8654d120502d5ace13122a80badbe612cc4c6758 Mon Sep 17 00:00:00 2001 From: d33tah Date: Thu, 12 Sep 2013 18:35:42 +0000 Subject: [PATCH] Update the httpd.lua comment, the "list the directory contents" is irrelevant. --- ncat/scripts/httpd.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ncat/scripts/httpd.lua b/ncat/scripts/httpd.lua index 909db1cd9..2c1989b3e 100644 --- a/ncat/scripts/httpd.lua +++ b/ncat/scripts/httpd.lua @@ -323,7 +323,7 @@ end --try to make all file openings from now on relative to the working directory. resource = "./" .. resource ---If it's a directory, check if it has index.html and if not, try to list it. +--If it's a directory, try to load index.html from it. if resource:sub(-1) == "/" then resource = resource .. '/index.html' end