diff options
| author | horn <pankrac.ja@seznam.cz> | 2012-11-18 22:42:28 +0000 |
|---|---|---|
| committer | Nay <dnpd.dd@gmail.com> | 2012-11-18 22:42:28 +0000 |
| commit | 771aafc4990d915f52582aa4d0b5b68c32f722db (patch) | |
| tree | 988bef5918da4bea2bf96b8498c41aca0cd3dce2 /src/server/game/Handlers/CharacterHandler.cpp | |
| parent | 47fcf4ce585cc8ab0f4be505a3993022c70a75a3 (diff) | |
Core/Calendar: Completely rewrite and fix most of the calendar system
There are still some issues that need to be fixed, for more info see CalendarHandler.cpp TODO part.
Some unblizzlike behaviour possible, we don't have a lot of sniffs.
Big thanks to @Warpten, he joined my project and helped a lot.
IMPORTANT NOTE: Read / append packed time functions in ByteBuffer.h are not correct, they need to be fixed in order to have event times accurate
Signed-off-by: Nay <dnpd.dd@gmail.com>
Diffstat (limited to 'src/server/game/Handlers/CharacterHandler.cpp')
| -rw-r--r-- | src/server/game/Handlers/CharacterHandler.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/game/Handlers/CharacterHandler.cpp b/src/server/game/Handlers/CharacterHandler.cpp index 8e6cdbc9dc2..d0aad7072f7 100644 --- a/src/server/game/Handlers/CharacterHandler.cpp +++ b/src/server/game/Handlers/CharacterHandler.cpp @@ -44,6 +44,7 @@ #include "Battleground.h" #include "AccountMgr.h" #include "LFGMgr.h" +#include "CalendarMgr.h" class LoginQueryHolder : public SQLQueryHolder { @@ -726,6 +727,7 @@ void WorldSession::HandleCharDeleteOpcode(WorldPacket & recvData) sLog->outCharDump(dump.c_str(), GetAccountId(), GUID_LOPART(guid), name.c_str()); } + sCalendarMgr->RemoveAllPlayerEventsAndInvites(guid); Player::DeleteFromDB(guid, GetAccountId()); WorldPacket data(SMSG_CHAR_DELETE, 1); |
