aboutsummaryrefslogtreecommitdiff
path: root/src/detector.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/detector.c')
-rw-r--r--src/detector.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/detector.c b/src/detector.c
index 70666f8e..ce5aa82e 100644
--- a/src/detector.c
+++ b/src/detector.c
@@ -25,7 +25,7 @@
int atob(const char *a)
{
if ( strcasecmp(a, "true") == 0 ) return 1;
- if ( strcasecmp(a, "false") == 0 ) return 1;
+ if ( strcasecmp(a, "false") == 0 ) return 0;
return atoi(a);
}