Changeset

1195:f502cbffbdd4

mod_auth_external: merge two if blocks with an elseif
author Matthew Wild <mwild1@gmail.com>
date Thu, 19 Sep 2013 17:57:25 +0100
parents 1194:f5eadba27120
children 1196:f45ca6edc159
files mod_auth_external/mod_auth_external.lua
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mod_auth_external/mod_auth_external.lua	Thu Sep 19 16:04:45 2013 +0100
+++ b/mod_auth_external/mod_auth_external.lua	Thu Sep 19 17:57:25 2013 +0100
@@ -94,8 +94,7 @@
 		local lo = len % 256;
 		local hi = (len - lo) / 256;
 		query = string.char(hi, lo)..query;
-	end
-	if script_type == "generic" then
+	elseif script_type == "generic" then
 		query = query..'\n';
 	end