Diff

mod_admin_web/admin_web/mod_admin_web.lua @ 769:7076f58b9f48

mod_admin_web: Move comment to appropriate line
author Florian Zeitz <florob@babelmonkeys.de>
date Fri, 03 Aug 2012 14:56:59 +0200
parent 761:48f8b312a509
child 770:a85d86a7f24e
line wrap: on
line diff
--- a/mod_admin_web/admin_web/mod_admin_web.lua	Thu Aug 02 20:44:40 2012 +0200
+++ b/mod_admin_web/admin_web/mod_admin_web.lua	Fri Aug 03 14:56:59 2012 +0200
@@ -144,6 +144,7 @@
 		}
 	});
 
+	-- Setup adminsub service
 	local function simple_broadcast(node, jids, item)
 		item = st.clone(item);
 		item.attr.xmlns = nil; -- Clear the pubsub namespace
@@ -158,8 +159,6 @@
 		end
 	end
 
-
-	-- Setup adminsub service
 	local ok, err;
 	service[module.host] = pubsub.new({
 		broadcaster = simple_broadcast;