aboutsummaryrefslogtreecommitdiff
path: root/src/game/Level1.cpp
diff options
context:
space:
mode:
authorn0n4m3 <none@none>2010-04-11 11:16:42 +0400
committern0n4m3 <none@none>2010-04-11 11:16:42 +0400
commitbe95faff2370db63eedd812ab4e70bb87e34b570 (patch)
treed2db46e9e6161abe0dd8740461979b8309ef79c7 /src/game/Level1.cpp
parent457df07bd4fd1b394cfcdbb63d5ff76e87fe8c89 (diff)
Fix mail, professions, group loot, console spam, and some fixes. Big thx to TOM_RUS.
--HG-- branch : trunk
Diffstat (limited to 'src/game/Level1.cpp')
-rw-r--r--src/game/Level1.cpp4
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);