aboutsummaryrefslogtreecommitdiffstats
path: root/util/mod_ping.lua
diff options
context:
space:
mode:
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);