diff modules/mod_subscribe.js @ 57:addbf6bbfaa8

Various fixes for the migration to ltx.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Mon, 12 Sep 2011 23:45:00 +0200
parents 0d3f18bb1d36
children
line wrap: on
line diff
--- a/modules/mod_subscribe.js
+++ b/modules/mod_subscribe.js
@@ -25,7 +25,7 @@ exports.subscribe = {
 	child: 'pubsub',
 	ns: NS.PUBSUB,
 	child2: 'subscribe',
-	func: function(response, stanza, request, to) {
+	func: function(response, attrs, request, to) {
 		if (!config.enabled('subscribe'))
 			return makeError(response, errors.sub.subscribe.not_supported.n);