summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibChess
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2023-04-21 14:35:24 +0100
committerAndreas Kling <kling@serenityos.org>2023-04-24 20:58:35 +0200
commitb9044358664e75ad8a90e590777c4724fc109de4 (patch)
treee8ef46967b15d35e3948d673e79815fa05accd65 /Userland/Libraries/LibChess
parent8b7c5db1867b9637e5b73a25a2e1aa469c52f15c (diff)
downloadserenity-b9044358664e75ad8a90e590777c4724fc109de4.zip
LibChess: Fix typo that always created DebugCommands as "on"
Diffstat (limited to 'Userland/Libraries/LibChess')
-rw-r--r--Userland/Libraries/LibChess/UCICommand.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibChess/UCICommand.cpp b/Userland/Libraries/LibChess/UCICommand.cpp
index 94799b30fa..7c157dc80d 100644
--- a/Userland/Libraries/LibChess/UCICommand.cpp
+++ b/Userland/Libraries/LibChess/UCICommand.cpp
@@ -30,7 +30,7 @@ DebugCommand DebugCommand::from_string(StringView command)
if (tokens[1] == "on")
return DebugCommand(Flag::On);
if (tokens[1] == "off")
- return DebugCommand(Flag::On);
+ return DebugCommand(Flag::Off);
VERIFY_NOT_REACHED();
}