Diff

plugins/mod_disco.lua @ 1510:83b2e07e9039

mod_disco: Convert from Windows line endings
author Matthew Wild <mwild1@gmail.com>
date Thu, 09 Jul 2009 23:00:32 +0100
parent 896:2c0b9e3c11c3
child 1523:841d61be198f
line wrap: on
line diff
--- a/plugins/mod_disco.lua	Thu Jul 09 23:00:01 2009 +0100
+++ b/plugins/mod_disco.lua	Thu Jul 09 23:00:32 2009 +0100
@@ -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);