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

@ -9,6 +9,8 @@ local rm_remove_from_roster = require "core.rostermanager".remove_from_roster;
local rm_add_to_roster = require "core.rostermanager".add_to_roster;
local rm_roster_push = require "core.rostermanager".roster_push;
require "core.discomanager".set("roster", "jabber:iq:roster");
add_iq_handler("c2s", "jabber:iq:roster",
function (session, stanza)
if stanza.tags[1].name == "query" then