mod_pep: Updated disco#info result handler to use new event name format.

Sun, 28 Nov 2010 02:05:52 +0500

author
Waqas Hussain <waqas20@gmail.com>
date
Sun, 28 Nov 2010 02:05:52 +0500
changeset 3652
c0148fddd81f
parent 3651
140ce81778ca
child 3653
029442834226

mod_pep: Updated disco#info result handler to use new event name format.

plugins/mod_pep.lua file | annotate | diff | comparison | revisions
--- 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];

mercurial