luacheckrc: Forget about _G.hosts, things should use _G.prosody.hosts
authorKim Alvefur <zash@zash.se>
Thu, 29 Mar 2018 16:42:24 +0200
changeset 8719 2f3b08ad9b8a
parent 8718 25d8d6091ec3
child 8720 9ddd0fbbe53a
luacheckrc: Forget about _G.hosts, things should use _G.prosody.hosts
.luacheckrc
--- a/.luacheckrc	Thu Mar 29 16:38:35 2018 +0200
+++ b/.luacheckrc	Thu Mar 29 16:42:24 2018 +0200
@@ -7,7 +7,6 @@
 
 read_globals = {
 	"prosody",
-	"hosts",
 	"import",
 	"server",
 };
@@ -22,7 +21,6 @@
 files["core/"] = {
 	globals = {
 		"prosody.hosts.?",
-		"hosts.?",
 	};
 }
 files["util/"] = {