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
This commit is contained in:
Rosemary Witchaven 2022-07-16 08:18:49 -05:00 committed by GitHub
parent 758ea0c516
commit d056030e6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}