mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 13:47:41 +03:00
mod_disco: Convert from Windows line endings
This commit is contained in:
parent
d0bfed09d0
commit
6ce464add2
1 changed files with 12 additions and 12 deletions
|
@ -7,15 +7,15 @@
|
|||
--
|
||||
|
||||
|
||||
|
||||
local discomanager_handle = require "core.discomanager".handle;
|
||||
|
||||
module:add_feature("http://jabber.org/protocol/disco#info");
|
||||
module:add_feature("http://jabber.org/protocol/disco#items");
|
||||
|
||||
module:add_iq_handler({"c2s", "s2sin"}, "http://jabber.org/protocol/disco#info", function (session, stanza)
|
||||
session.send(discomanager_handle(stanza));
|
||||
end);
|
||||
module:add_iq_handler({"c2s", "s2sin"}, "http://jabber.org/protocol/disco#items", function (session, stanza)
|
||||
session.send(discomanager_handle(stanza));
|
||||
end);
|
||||
|
||||
local discomanager_handle = require "core.discomanager".handle;
|
||||
|
||||
module:add_feature("http://jabber.org/protocol/disco#info");
|
||||
module:add_feature("http://jabber.org/protocol/disco#items");
|
||||
|
||||
module:add_iq_handler({"c2s", "s2sin"}, "http://jabber.org/protocol/disco#info", function (session, stanza)
|
||||
session.send(discomanager_handle(stanza));
|
||||
end);
|
||||
module:add_iq_handler({"c2s", "s2sin"}, "http://jabber.org/protocol/disco#items", function (session, stanza)
|
||||
session.send(discomanager_handle(stanza));
|
||||
end);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue