aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRosemary Witchaven <32779090+in1tiate@users.noreply.github.com>2022-07-16 08:18:49 -0500
committerGitHub <noreply@github.com>2022-07-16 15:18:49 +0200
commitd056030e6c442907ad6d7c9689af42ba1621ccce (patch)
treef12a3c37cf9cff733879e4fe369a215396d564c6
parent758ea0c516eabe1743cd3af9ff04472eb62e7888 (diff)
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
-rw-r--r--src/courtroom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp
index da891168..030cc134 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);
}