diff --git a/src/ChatCommands.cc b/src/ChatCommands.cc index 482cc9fc..6ee0fa28 100644 --- a/src/ChatCommands.cc +++ b/src/ChatCommands.cc @@ -320,10 +320,9 @@ static void proxy_command_lobby_event(shared_ptr, send_text_message(session.client_channel, u"$C6No such lobby event."); } else { session.override_lobby_event = new_event; - if (((session.version == GameVersion::GC) || - (session.version == GameVersion::XB) || - (session.version == GameVersion::BB)) && - !(session.newserv_client_config.cfg.flags & Client::Flag::IS_TRIAL_EDITION)) { + if ((session.version == GameVersion::GC && !(session.newserv_client_config.cfg.flags & Client::Flag::IS_TRIAL_EDITION)) || + (session.version == GameVersion::XB) || + (session.version == GameVersion::BB)) { session.client_channel.send(0xDA, session.override_lobby_event); } }