Update MessageHandlers.cpp
This commit is contained in:
committed by
Jason Watkins
parent
1b696b0f0d
commit
dcef8c9391
@@ -598,7 +598,7 @@ namespace XPC
|
||||
Log::FormatLine(LOG_TRACE, "SIMU", "Message Received (Conn %i)", connection.id);
|
||||
|
||||
char v = msg.GetBuffer()[5];
|
||||
if (v < 0 || v > 2)
|
||||
if (v < 0 || (v > 2 && v <10) || v > 20) //Start here
|
||||
{
|
||||
Log::FormatLine(LOG_ERROR, "SIMU", "ERROR: Invalid argument: %i", v);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user