Diff

mod_adhoc/adhoc/mod_adhoc.lua @ 245:84d03c44bdb9

mod_adhoc: Fix typo introduced during refactoring
author Florian Zeitz <florob@babelmonkeys.de>
date Sun, 22 Aug 2010 12:02:41 +0200
parent 244:e0802b2716c3
child 246:5a389f9f2ec7
line wrap: on
line diff
--- a/mod_adhoc/adhoc/mod_adhoc.lua	Sat Aug 21 19:20:12 2010 +0200
+++ b/mod_adhoc/adhoc/mod_adhoc.lua	Sun Aug 22 12:02:41 2010 +0200
@@ -37,7 +37,7 @@
 	end
 end, 500);
 
-module:hook("iq/host"..xmlns_cmd..":command", function (event)
+module:hook("iq/host/"..xmlns_cmd..":command", function (event)
 	local origin, stanza = event.origin, event.stanza;
 	if stanza.attr.type == "set" then
 		local node = stanza.tags[1].attr.node