projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bumper commit for the new modulemanager API \o/ Updates all the modules, though some...
[prosody.git]
/
plugins
/
mod_ping.lua
diff --git
a/plugins/mod_ping.lua
b/plugins/mod_ping.lua
index c13282fffd30e5cc913767ac5469b3c54d124e7c..8306078c77c5760cec0c546878c2f1c2fa812354 100644
(file)
--- a/
plugins/mod_ping.lua
+++ b/
plugins/mod_ping.lua
@@
-3,7
+3,7
@@
local st = require "util.stanza";
\r
require "core.discomanager".set("ping", "urn:xmpp:ping");
\r
\r
\r
require "core.discomanager".set("ping", "urn:xmpp:ping");
\r
\r
-add_iq_handler({"c2s", "s2sin"}, "urn:xmpp:ping",
\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
function(session, stanza)
\r
if stanza.attr.type == "get" then
\r
session.send(st.reply(stanza));
\r