aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_ping.lua22
1 files changed, 11 insertions, 11 deletions
diff --git a/plugins/mod_ping.lua b/plugins/mod_ping.lua
index 2cefff61..db80f382 100644
--- a/plugins/mod_ping.lua
+++ b/plugins/mod_ping.lua
@@ -7,14 +7,14 @@
--
-
-local st = require "util.stanza";
-
-module:add_feature("urn:xmpp:ping");
-
-module:add_iq_handler({"c2s", "s2sin"}, "urn:xmpp:ping",
- function(session, stanza)
- if stanza.attr.type == "get" then
- session.send(st.reply(stanza));
- end
- end);
+
+local st = require "util.stanza";
+
+module:add_feature("urn:xmpp:ping");
+
+module:add_iq_handler({"c2s", "s2sin"}, "urn:xmpp:ping",
+ function(session, stanza)
+ if stanza.attr.type == "get" then
+ session.send(st.reply(stanza));
+ end
+ end);