Comparison

plugins/mod_pubsub.lua @ 5314:e5e480d73066

mod_pubsub: require usermanager.
author Waqas Hussain <waqas20@gmail.com>
date Sat, 26 Jan 2013 03:50:13 +0500
parent 5313:3d63f5236464
child 5317:86fab046813f
comparison
equal deleted inserted replaced
5313:3d63f5236464 5314:e5e480d73066
1 local pubsub = require "util.pubsub"; 1 local pubsub = require "util.pubsub";
2 local st = require "util.stanza"; 2 local st = require "util.stanza";
3 local jid_bare = require "util.jid".bare; 3 local jid_bare = require "util.jid".bare;
4 local uuid_generate = require "util.uuid".generate; 4 local uuid_generate = require "util.uuid".generate;
5 local usermanager = require "core.usermanager";
5 6
6 local xmlns_pubsub = "http://jabber.org/protocol/pubsub"; 7 local xmlns_pubsub = "http://jabber.org/protocol/pubsub";
7 local xmlns_pubsub_errors = "http://jabber.org/protocol/pubsub#errors"; 8 local xmlns_pubsub_errors = "http://jabber.org/protocol/pubsub#errors";
8 local xmlns_pubsub_event = "http://jabber.org/protocol/pubsub#event"; 9 local xmlns_pubsub_event = "http://jabber.org/protocol/pubsub#event";
9 local xmlns_pubsub_owner = "http://jabber.org/protocol/pubsub#owner"; 10 local xmlns_pubsub_owner = "http://jabber.org/protocol/pubsub#owner";