aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index d9f6874..dfcc2f4 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -20,7 +20,7 @@ int main(int argc, const char *argv[]) {
return 2;
}
if (argc > 2 && !strcmp(argv[1], "--say")) {
- if (lowbat.jo_testEspeak()) {
+ if (!lowbat.jo_testEspeak()) {
lowbat.jo_setMsg(argv[2]);
speaks = 1;
}