# HG changeset patch # User Waqas Hussain # Date 1290891952 -18000 # Node ID 40994d337f88e5f9f409a511ff7b4a65c6fffacb # Parent 3ce3b494e84cbe67e307b78407e5e1e52db46534 mod_pep: Updated disco#info result handler to use new event name format. diff -r 3ce3b494e84c -r 40994d337f88 plugins/mod_pep.lua --- a/plugins/mod_pep.lua Sun Nov 28 02:03:59 2010 +0500 +++ b/plugins/mod_pep.lua Sun Nov 28 02:05:52 2010 +0500 @@ -208,7 +208,7 @@ end end); -module:hook("iq/bare/disco", function(event) +module:hook("iq-result/bare/disco", function(event) local session, stanza = event.origin, event.stanza; if stanza.attr.type == "result" then local disco = stanza.tags[1];