Diff

plugins/mod_dialback.lua @ 3534:c68590b13a6d

mod_dialback: Fixed indentation.
author Waqas Hussain <waqas20@gmail.com>
date Sat, 16 Oct 2010 07:08:19 +0500 (2010-10-16)
parent 3533:0385b9f29049
child 3651:337391d34b70
child 4227:6b83ef6ec845
line wrap: on
line diff
--- a/plugins/mod_dialback.lua	Sat Oct 16 07:06:16 2010 +0500
+++ b/plugins/mod_dialback.lua	Sat Oct 16 07:08:19 2010 +0500
@@ -133,11 +133,11 @@
 end);
 
 module:hook_stanza(xmlns_stream, "features", function (origin, stanza)
-		s2s_initiate_dialback(origin);
-		return true;
-	end, 100);
+	s2s_initiate_dialback(origin);
+	return true;
+end, 100);
 
 -- Offer dialback to incoming hosts
 module:hook("s2s-stream-features", function (data)
-		data.features:tag("dialback", { xmlns='urn:xmpp:features:dialback' }):tag("optional"):up():up();
-	end);
+	data.features:tag("dialback", { xmlns='urn:xmpp:features:dialback' }):tag("optional"):up():up();
+end);