Send lobby chat text to cleaner bot.

This commit is contained in:
lotodore committed 2009-08-15 22:32:42 +00:00
1 parent a380497bc2
commit 7a518fab76
1 file changed
+4
+4
View File
@@ -1114,6 +1114,10 @@ ServerLobbyThread::HandleNetPacketChatRequest(SessionWrapper session, const Chat
m_sessionManager.SendLobbyMsgToAllSessions(GetSender(), packet, SessionData::Established);
m_gameSessionManager.SendLobbyMsgToAllSessions(GetSender(), packet, SessionData::Game);
m_chatCleanerManager->HandleChatText(
session.playerData->GetUniqueId(),
session.playerData->GetName(),
STL_STRING_FROM_OCTET_STRING(chatRequest.chatText));
}
}