diff modules/mod_retrieve.js @ 37:45d0cd9388ea

Fix mod_retrieve.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Wed, 10 Nov 2010 18:31:02 +0100
parents 6697f394301f
children 4c808bfe0658
line wrap: on
line diff
--- a/modules/mod_retrieve.js
+++ b/modules/mod_retrieve.js
@@ -70,7 +70,7 @@ exports.retrieveItems = {
 	child: 'pubsub',
 	ns: NS.PUBSUB,
 	child2: 'items',
-	func: function(response, stanza, request) {
+	func: function(response, stanza, request, to) {
 		if (!config.enabled('retrieve-items'))
 			return makeError(response, errors.sub.default_options.node_configuration_not_supported.n);