Mercurial > psgxs
diff modules/mod_disco.js @ 47:0d3f18bb1d36
Remove usage of fdsq.js in modules.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Thu, 10 Mar 2011 16:13:49 +0100 |
parents | 023f767662d3 |
children | 22b06eade9a7 |
line wrap: on
line diff
--- a/modules/mod_disco.js +++ b/modules/mod_disco.js @@ -117,7 +117,7 @@ exports.disco_items = { var configuration = storage.getConfiguration(nodeID); if (configuration['pubsub#access_model'] == 'whitelist') { var affils = storage.getAffiliationsFromNodeID(nodeID); - var affil = affils[toBareJID(to)]; + var affil = affils[JID.toBare(to)]; if (!affil || affil == 'outcast') continue; }