Modules now sending disco replies

This commit is contained in:
Waqas Hussain 2008-11-26 08:27:09 +05:00
parent 111b866557
commit f68d335729
8 changed files with 17 additions and 2 deletions

View file

@ -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");