diff mod_auth_external/mod_auth_external.lua @ 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 b9e4d935867c
children 7dbde05b48a9
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