Diff

plugins/mod_legacyauth.lua @ 421:63be85693710

Modules now sending disco replies
author Waqas Hussain <waqas20@gmail.com>
date Wed, 26 Nov 2008 08:27:09 +0500
parent 308:6345cf3e994a
child 438:193f9dd64f17
line wrap: on
line diff
--- a/plugins/mod_legacyauth.lua	Wed Nov 26 08:26:24 2008 +0500
+++ b/plugins/mod_legacyauth.lua	Wed Nov 26 08:27:09 2008 +0500
@@ -2,6 +2,8 @@
 local st = require "util.stanza";
 local t_concat = table.concat;
 
+require "core.discomanager".set("legacyauth", "jabber:iq:auth");
+
 add_iq_handler("c2s_unauthed", "jabber:iq:auth", 
 		function (session, stanza)
 			local username = stanza.tags[1]:child_with_name("username");