diff options
| author | in1tiate <32779090+in1tiate@users.noreply.github.com> | 2021-04-16 00:42:43 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-16 00:42:43 -0500 |
| commit | a5e1cc41733859e4d5aa79a56b3b0cc887b6fdb6 (patch) | |
| tree | 2d1a988238a5da2bad5405fd17d9f84c99bcb88b /src/packet_distribution.cpp | |
| parent | 33cf6dea262188ae7d9ca198ff4f3837234b8952 (diff) | |
Fix CASEA failing to validate packets with exactly six arguments (#521)
Diffstat (limited to 'src/packet_distribution.cpp')
| -rw-r--r-- | src/packet_distribution.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/packet_distribution.cpp b/src/packet_distribution.cpp index a3b12c81..cf510026 100644 --- a/src/packet_distribution.cpp +++ b/src/packet_distribution.cpp @@ -616,7 +616,7 @@ void AOApplication::server_packet_received(AOPacket *p_packet) w_courtroom->mod_called(f_contents.at(0)); } else if (header == "CASEA") { - if (courtroom_constructed && f_contents.size() > 6) + if (courtroom_constructed && f_contents.size() >= 6) w_courtroom->case_called(f_contents.at(0), f_contents.at(1) == "1", f_contents.at(2) == "1", f_contents.at(3) == "1", f_contents.at(4) == "1", |
