plugins/mod_http.lua
changeset 6601 4b4852c4f96a
parent 6600 321321f566fb
child 6605 61b6a4fc65f1
child 7583 588ed6451984
--- a/plugins/mod_http.lua	Mon Mar 23 18:44:12 2015 +0100
+++ b/plugins/mod_http.lua	Mon Mar 23 18:45:02 2015 +0100
@@ -69,6 +69,8 @@
 			return url_build(url);
 		end
 	end
+	module:log("warn", "No http ports enabled, can't generate an external URL");
+	return "http://disabled.invalid/";
 end
 
 function module.add_host(module)