aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-07-09 23:01:13 +0100
committerMatthew Wild <mwild1@gmail.com>2009-07-09 23:01:13 +0100
commit3bd8271d09bce7cf63e053fe370ddb07f6f8a0d8 (patch)
tree0f8ce347efa59c04f73f13698887ef9e42f60650 /plugins
parent6ce464add2b9aed5f9aba4c65b1d2922e6cd8ccc (diff)
downloadprosody-3bd8271d09bce7cf63e053fe370ddb07f6f8a0d8.tar.gz
prosody-3bd8271d09bce7cf63e053fe370ddb07f6f8a0d8.zip
mod_ping: Convert from Windows line endings
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);