Yes, we don't put these things in here, we put them in here.
authorMatthew Wild <mwild1@gmail.com>
Wed, 26 Nov 2008 15:58:04 +0000 (15:58 +0000)
committerMatthew Wild <mwild1@gmail.com>
Wed, 26 Nov 2008 15:58:04 +0000 (15:58 +0000)
plugins/mod_ping.lua [new file with mode: 0644]
util/mod_ping.lua [deleted file]

diff --git a/plugins/mod_ping.lua b/plugins/mod_ping.lua
new file mode 100644 (file)
index 0000000..c13282f
--- /dev/null
@@ -0,0 +1,11 @@
+\r
+local st = require "util.stanza";\r
+\r
+require "core.discomanager".set("ping", "urn:xmpp:ping");\r
+\r
+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
diff --git a/util/mod_ping.lua b/util/mod_ping.lua
deleted file mode 100644 (file)
index c13282f..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-\r
-local st = require "util.stanza";\r
-\r
-require "core.discomanager".set("ping", "urn:xmpp:ping");\r
-\r
-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