diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-07-09 23:01:13 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-07-09 23:01:13 +0100 |
commit | 3bd8271d09bce7cf63e053fe370ddb07f6f8a0d8 (patch) | |
tree | 0f8ce347efa59c04f73f13698887ef9e42f60650 | |
parent | 6ce464add2b9aed5f9aba4c65b1d2922e6cd8ccc (diff) | |
download | prosody-3bd8271d09bce7cf63e053fe370ddb07f6f8a0d8.tar.gz prosody-3bd8271d09bce7cf63e053fe370ddb07f6f8a0d8.zip |
mod_ping: Convert from Windows line endings
-rw-r--r-- | plugins/mod_ping.lua | 22 |
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); |