diff modules/mod_retrieve.js @ 32:8735fc6f6f53

Fix two modules.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Fri, 05 Nov 2010 12:24:07 +0100
parents b2faacfefb90
children 6697f394301f
line wrap: on
line diff
--- a/modules/mod_retrieve.js
+++ b/modules/mod_retrieve.js
@@ -11,7 +11,7 @@ exports.retrieveSubscriptions = {
 	child: 'pubsub',
 	ns: NS.PUBSUB,
 	child2: 'subscriptions',
-	func: function(response, stanza, request) {
+	func: function(response, stanza, request, to) {
 		if (!config.enabled('retrieve-subscriptions'))
 			return makeError(response, errors.subscriptions_retrieval_not_supported.n);
 
@@ -39,7 +39,7 @@ exports.retrieveAffiliations = {
 	child: 'pubsub',
 	ns: NS.PUBSUB,
 	child2: 'affiliations',
-	func: function(response, stanza, request) {
+	func: function(response, stanza, request, to) {
 		if (!config.enabled('retrieve-affiliations'))
 			return makeError(response, errors.affiliations_retrieval_not_supported.n);