1
0

fix rev_data

This commit is contained in:
Your Name 2023-07-08 16:49:53 +08:00
parent 0fe2617d95
commit 7342f14f05

View File

@ -13,6 +13,7 @@ int WebSocketListener( struct lws *wsi, enum lws_callback_reasons reason, void *
case LWS_CALLBACK_RECEIVE:
{
unsigned char* msg=new uint8_t[8192];
memset(msg,0,sizeof(msg));
memcpy(msg,in,len);
ddncq->gamectx->SendChat(-1,CGameContext::CHAT_ALL,(const char*)msg);
delete[] msg;