plugins/mod_disco.lua
changeset 11208 ae2a11066001
parent 9226 80dbb60d81e4
child 11741 59cf555b4698
--- a/plugins/mod_disco.lua	Mon Nov 09 12:38:32 2020 +0100
+++ b/plugins/mod_disco.lua	Tue Nov 10 14:46:49 2020 +0100
@@ -71,6 +71,7 @@
 		ver = _cached_server_caps_hash;
 	});
 end
+
 local function clear_disco_cache()
 	_cached_server_disco_info, _cached_server_caps_feature, _cached_server_caps_hash = nil, nil, nil;
 end
@@ -116,6 +117,7 @@
 	origin.send(reply);
 	return true;
 end);
+
 module:hook("iq-get/host/http://jabber.org/protocol/disco#items:query", function(event)
 	local origin, stanza = event.origin, event.stanza;
 	local node = stanza.tags[1].attr.node;
@@ -179,6 +181,7 @@
 		return true;
 	end
 end);
+
 module:hook("iq-get/bare/http://jabber.org/protocol/disco#items:query", function(event)
 	local origin, stanza = event.origin, event.stanza;
 	local node = stanza.tags[1].attr.node;
@@ -204,3 +207,4 @@
 		return true;
 	end
 end);
+