aboutsummaryrefslogtreecommitdiff
path: root/src/courtroom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/courtroom.cpp')
-rw-r--r--src/courtroom.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp
index df3872c..e7e377d 100644
--- a/src/courtroom.cpp
+++ b/src/courtroom.cpp
@@ -4967,20 +4967,6 @@ void Courtroom::on_ooc_return_pressed()
{
QString ooc_message = ui_ooc_chat_message->text();
- // 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->m_serverdata.get_feature(server::BASE_FEATURE_SET::EFFECTS))
- {
- if (ooc_message == "/pos jud")
- {
- show_judge_controls(true);
- }
- else
- {
- show_judge_controls(false);
- }
- }
-
if (ooc_message.startsWith("/load_case"))
{
QStringList command = ooc_message.split(" ", Qt::SkipEmptyParts);