Mercurial > psgxs
diff modules/mod_subscribe.js @ 30:b2faacfefb90
Rewrite of the module manager; fix of some modules; fix of the directory backend.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Thu, 04 Nov 2010 17:50:52 +0100 |
parents | b80ab94da447 |
children | 6697f394301f |
line wrap: on
line diff
--- a/modules/mod_subscribe.js +++ b/modules/mod_subscribe.js @@ -10,7 +10,7 @@ exports.subscribe = { type: 'set', child: 'pubsub', ns: NS.PUBSUB, - pschild: 'subscribe', + child2: 'subscribe', func: function(response, stanza, request, to) { if (!config.enabled('subscribe')) return makeError(response, errors.sub.subscribe.not_supported.n); @@ -104,7 +104,7 @@ exports.unsubscribe = { type: 'set', child: 'pubsub', ns: NS.PUBSUB, - pschild: 'unsubscribe', + child2: 'unsubscribe', func: function(response, stanza, request) { if (!config.enabled('subscribe')) return makeError(response, errors.sub.subscribe.not_supported.n);