changeset 14:06abc804e2ab

Correct syntax error.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Thu, 09 Sep 2010 14:09:45 +0200
parents 447db2e8c622
children 60c80751cfa5
files configuration.js
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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';