changeset 37:45d0cd9388ea

Fix mod_retrieve.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Wed, 10 Nov 2010 18:31:02 +0100
parents 26eb015a7c40
children 5395a501c991
files modules/mod_retrieve.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);