From 41ccb42d862b7ca48a3de4547c2bb4ba2853ac1c Mon Sep 17 00:00:00 2001
From: Waqas Hussain <waqas20@gmail.com>
Date: Sun, 28 Nov 2010 02:05:52 +0500
Subject: mod_pep: Updated disco#info result handler to use new event name
 format.

---
 plugins/mod_pep.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/mod_pep.lua b/plugins/mod_pep.lua
index 5d476645..b7f20f2b 100644
--- a/plugins/mod_pep.lua
+++ b/plugins/mod_pep.lua
@@ -208,7 +208,7 @@ module:hook("iq/bare/http://jabber.org/protocol/pubsub:pubsub", function(event)
 	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];
-- 
cgit v1.2.3