Diff

plugins/mod_legacyauth.lua @ 422:61c8877d703c

Merge from waqas
author Matthew Wild <mwild1@gmail.com>
date Wed, 26 Nov 2008 03:29:06 +0000
parent 421:63be85693710
child 438:193f9dd64f17
line wrap: on
line diff
--- a/plugins/mod_legacyauth.lua	Wed Nov 26 02:21:18 2008 +0000
+++ b/plugins/mod_legacyauth.lua	Wed Nov 26 03:29:06 2008 +0000
@@ -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");