mod_ping: Convert from Windows line endings
authorMatthew Wild <mwild1@gmail.com>
Thu, 9 Jul 2009 22:01:13 +0000 (23:01 +0100)
committerMatthew Wild <mwild1@gmail.com>
Thu, 9 Jul 2009 22:01:13 +0000 (23:01 +0100)
plugins/mod_ping.lua

index 2cefff6162ebb41666aeb9bddcfc273baea5593e..db80f382894cc0e39d56767139f2bda8fbf42b2c 100644 (file)
@@ -7,14 +7,14 @@
 --
 
 
-\r
-local st = require "util.stanza";\r
-\r
-module:add_feature("urn:xmpp:ping");\r
-\r
-module:add_iq_handler({"c2s", "s2sin"}, "urn:xmpp:ping",\r
-       function(session, stanza)\r
-               if stanza.attr.type == "get" then\r
-                       session.send(st.reply(stanza));\r
-               end\r
-       end);\r
+
+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);