mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-21 21:20:04 +00:00
removed stale comment
This commit is contained in:
parent
755bb75306
commit
131eb94919
@ -245,7 +245,7 @@ void ChatManager::sendServerMessage(CNSocket* sock, std::string msg) {
|
||||
INITSTRUCT(sP_FE2CL_PC_MOTD_LOGIN, motd);
|
||||
|
||||
motd.iType = 1;
|
||||
// convert string to u16 and write it to the buffer (TODO: add sanity check to prevent buffer overflow)
|
||||
// convert string to u16 and write it to the buffer
|
||||
U8toU16(msg, (char16_t*)motd.szSystemMsg, sizeof(motd.szSystemMsg));
|
||||
|
||||
// send the packet :)
|
||||
|
Loading…
Reference in New Issue
Block a user