changeset 49:7e421278b31b

Fix for node strict mode compatibility.
author Sonny Piers <sonny.piers@gmail.com>
date Sun, 20 Mar 2011 15:25:27 +0100
parents c979c4d0932b
children e6c2c66c2002
files modules/mod_owner.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/modules/mod_owner.js
+++ b/modules/mod_owner.js
@@ -57,7 +57,7 @@ exports.create = {
 		if (!right)
 			return makeError(response, errors.forbidden.n);
 
-		conf = {};
+		var conf = {};
 		conf['pubsub#creator'] = bare;
 
 		var r = storage.createNode(nodeID, conf);