(cherry picked from commit 63116bd59f
)
This commit is contained in:

committed by
Jonathan G Rennison

parent
91f2710783
commit
306726827d
@@ -618,7 +618,7 @@ NetworkRecvStatus ServerNetworkAdminSocketHandler::SendCmdNames()
|
|||||||
/* Should COMPAT_MTU be exceeded, start a new packet
|
/* Should COMPAT_MTU be exceeded, start a new packet
|
||||||
* (magic 5: 1 bool "more data" and one uint16 "command id", one
|
* (magic 5: 1 bool "more data" and one uint16 "command id", one
|
||||||
* byte for string '\0' termination and 1 bool "no more data" */
|
* byte for string '\0' termination and 1 bool "no more data" */
|
||||||
if (p->CanWriteToPacket(strlen(cmdname) + 5)) {
|
if (!p->CanWriteToPacket(strlen(cmdname) + 5)) {
|
||||||
p->Send_bool(false);
|
p->Send_bool(false);
|
||||||
this->SendPacket(p);
|
this->SendPacket(p);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user