Changeset

3534:c68590b13a6d

mod_dialback: Fixed indentation.
author Waqas Hussain <waqas20@gmail.com>
date Sat, 16 Oct 2010 07:08:19 +0500
parents 3533:0385b9f29049
children 3535:b953b0c0f203
files plugins/mod_dialback.lua
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
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);