From d056030e6c442907ad6d7c9689af42ba1621ccce Mon Sep 17 00:00:00 2001 From: Rosemary Witchaven <32779090+in1tiate@users.noreply.github.com> Date: Sat, 16 Jul 2022 08:18:49 -0500 Subject: [PATCH] Swap a bitwise AND for a logical AND (#809) Didn't cause any problems here because these are both of type bool, but it's bad form anyway --- src/courtroom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/courtroom.cpp b/src/courtroom.cpp index da89116..030cc13 100644 --- a/src/courtroom.cpp +++ b/src/courtroom.cpp @@ -4085,7 +4085,7 @@ void Courtroom::on_ooc_return_pressed() //We ignore it when the server is compatible with 2.8 //Using an arbitrary 2.8 feature flag certainly won't cause issues someday. - if (ooc_message.startsWith("/pos") & !ao_app->effects_enabled) { + if (ooc_message.startsWith("/pos") && !ao_app->effects_enabled) { if (ooc_message == "/pos jud") { show_judge_controls(true); }