diff modules/mod_publish.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 62cbb1c49bc5
line wrap: on
line diff
--- a/modules/mod_publish.js
+++ b/modules/mod_publish.js
@@ -8,7 +8,7 @@ exports.retrieveSub = {
 	type: 'set',
 	child: 'pubsub',
 	ns: NS.PUBSUB,
-	pschild: 'publish',
+	child2: 'publish',
 	func: function(response, stanza, request, to) {
 		if (!config.enabled('publish'))
 			return makeError(response, errors.pub.publish.item_publication_not_supported.n);
@@ -94,7 +94,7 @@ exports.retrieveSub = {
 	type: 'set',
 	child: 'pubsub',
 	ns: NS.PUBSUB,
-	pschild: 'retract',
+	child2: 'retract',
 	func: function(response, stanza, request, to) {
 		if (!config.enabled('retract-items'))
 			return makeError(response, errors.pub.retract.item_deletion_not_supported.n);