aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmanager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/manager.c b/manager.c
index 306c21795..4dfefb3ed 100755
--- a/manager.c
+++ b/manager.c
@@ -402,7 +402,7 @@ static int ast_strings_to_mask(char *string)
else if (!strcasecmp(string, "off") || ast_false(string))
ret = 0;
else if (!strcasecmp(string, "on") || ast_true(string))
- ret = -1;
+ ret = 1;
else {
ret = 0;
for (x=0; x<sizeof(perms) / sizeof(perms[0]); x++) {