NetPlayDiag: Get rid of unnecessary text limit check

The text control is limited to 2000 characters on creation.
This commit is contained in:
Lioncash 2014-11-11 00:12:18 -05:00
parent 3fed975bac
commit ec82f02580
1 changed files with 0 additions and 3 deletions

View File

@ -425,9 +425,6 @@ void NetPlayDiag::OnChat(wxCommandEvent&)
if (!text.empty())
{
if (text.length() > 2000)
text.erase(2000);
netplay_client->SendChatMessage(WxStrToStr(text));
m_chat_text->AppendText(text.Prepend(" >> ").Append('\n'));
m_chat_msg_text->Clear();