diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_disco.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/mod_disco.lua b/plugins/mod_disco.lua index e2885509..9bef6295 100644 --- a/plugins/mod_disco.lua +++ b/plugins/mod_disco.lua @@ -81,6 +81,8 @@ end module:hook("item-added/identity", clear_disco_cache); module:hook("item-added/feature", clear_disco_cache); +module:hook("item-removed/identity", clear_disco_cache); +module:hook("item-removed/feature", clear_disco_cache); -- Handle disco requests to the server module:hook("iq/host/http://jabber.org/protocol/disco#info:query", function(event) |