removed stale comment

This commit is contained in:
CPunch 2020-10-04 12:52:16 -05:00
parent 755bb75306
commit 131eb94919

View File

@ -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 :)