aboutsummaryrefslogtreecommitdiffstats
path: root/util/mod_ping.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-11-26 15:58:04 +0000
committerMatthew Wild <mwild1@gmail.com>2008-11-26 15:58:04 +0000
commitaf27107a9b72e48eb48dbbcc17efd127d18f3050 (patch)
treef4d6607fd3a56f5485a9a7f2c8434cab18f2e01d /util/mod_ping.lua
parent32d1450b6f627f87347cf44d36b3f337470046c9 (diff)
downloadprosody-af27107a9b72e48eb48dbbcc17efd127d18f3050.tar.gz
prosody-af27107a9b72e48eb48dbbcc17efd127d18f3050.zip
Yes, we don't put these things in here, we put them in here.
Diffstat (limited to 'util/mod_ping.lua')
-rw-r--r--util/mod_ping.lua11
1 files changed, 0 insertions, 11 deletions
diff --git a/util/mod_ping.lua b/util/mod_ping.lua
deleted file mode 100644
index c13282ff..00000000
--- a/util/mod_ping.lua
+++ /dev/null
@@ -1,11 +0,0 @@
-
-local st = require "util.stanza";
-
-require "core.discomanager".set("ping", "urn:xmpp:ping");
-
-add_iq_handler({"c2s", "s2sin"}, "urn:xmpp:ping",
- function(session, stanza)
- if stanza.attr.type == "get" then
- session.send(st.reply(stanza));
- end
- end);