diff options
Diffstat (limited to 'src/game/Level1.cpp')
-rw-r--r-- | src/game/Level1.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/game/Level1.cpp b/src/game/Level1.cpp index 5873a72ca83..07c0278b634 100644 --- a/src/game/Level1.cpp +++ b/src/game/Level1.cpp @@ -2408,9 +2408,7 @@ bool ChatHandler::HandleSendMailCommand(const char* args) // from console show not existed sender MailSender sender(MAIL_NORMAL,m_session ? m_session->GetPlayer()->GetGUIDLow() : 0, MAIL_STATIONERY_GM); - uint32 itemTextId = !text.empty() ? objmgr.CreateItemText(text) : 0; - - MailDraft(subject, itemTextId) + MailDraft(subject, text) .SendMailTo(MailReceiver(target,GUID_LOPART(target_guid)),sender); std::string nameLink = playerLink(target_name); |