diff configuration.js @ 14:06abc804e2ab

Correct syntax error.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Thu, 09 Sep 2010 14:09:45 +0200
parents 447db2e8c622
children f2e9365bc8ec
line wrap: on
line diff
--- a/configuration.js
+++ b/configuration.js
@@ -232,12 +232,12 @@ if (config.access == 'whitelist') {
 	config.enable('access-whitelist');
 	config.service_configuration.node_config['pubsub#access_model'].value = 'whitelist';
 	config.service_configuration['publish-options']['pubsub#access_model'].value = 'whitelist';
-} else if (config.access == 'authorize')) {
+} else if (config.access == 'authorize') {
 	config.disable(/access-.+/);
 	config.enable('access-authorize');
 	config.service_configuration.node_config['pubsub#access_model'].value = 'authorize';
 	config.service_configuration['publish-options']['pubsub#access_model'].value = 'authorize';
-} else if (config.access == 'open')) {
+} else if (config.access == 'open') {
 	config.disable(/access-.+/);
 	config.enable('access-open');
 	config.service_configuration.node_config['pubsub#access_model'].value = 'open';