Show announcements in server log

This commit is contained in:
Gent Semaj 2020-12-01 19:59:18 -05:00
parent fed3eca378
commit 86f17b6525
No known key found for this signature in database
GPG Key ID: 76A006BEBA710050
1 changed files with 2 additions and 0 deletions

View File

@ -894,6 +894,8 @@ void ChatManager::announcementHandler(CNSocket* sock, CNPacketData* data) {
default:
break;
}
std::cout << "[Bcast " << announcement->iAreaType << "] " << PlayerManager::getPlayerName(plr, false) << ": " << U16toU8(msg.szAnnounceMsg) << std::endl;
}
// we only allow plain ascii, at least for now