diff options
Diffstat (limited to 'courtroom.cpp')
| -rw-r--r-- | courtroom.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/courtroom.cpp b/courtroom.cpp index ee09bba9..05ee6892 100644 --- a/courtroom.cpp +++ b/courtroom.cpp @@ -856,6 +856,9 @@ void Courtroom::on_chat_return_pressed() void Courtroom::handle_chatmessage(QStringList *p_contents) { + if (p_contents->size() < 15) + return; + for (int n_string = 0 ; n_string < chatmessage_size ; ++n_string) { m_chatmessage[n_string] = p_contents->at(n_string); |
