aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_dialback.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2010-10-16 07:08:19 +0500
committerWaqas Hussain <waqas20@gmail.com>2010-10-16 07:08:19 +0500
commitbdcb511bf44b755c646496bf0d21a420ef86137e (patch)
tree037b2f68faa17d835d25fde298f9c4789bf185dc /plugins/mod_dialback.lua
parentec0ceee7eb1ff8dd0aefafc49b8f3be743c446d7 (diff)
downloadprosody-bdcb511bf44b755c646496bf0d21a420ef86137e.tar.gz
prosody-bdcb511bf44b755c646496bf0d21a420ef86137e.zip
mod_dialback: Fixed indentation.
Diffstat (limited to 'plugins/mod_dialback.lua')
-rw-r--r--plugins/mod_dialback.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/mod_dialback.lua b/plugins/mod_dialback.lua
index 9a1e28f9..e1fd5a42 100644
--- a/plugins/mod_dialback.lua
+++ b/plugins/mod_dialback.lua
@@ -133,11 +133,11 @@ module:hook("stanza/jabber:server:dialback:result", function(event)
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);