mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-21 20:56:23 +00:00
feat(Core/ChatHandler/Conf): Flood Control Addon Messages (#12603)
* feat(Core/ChatHandler): Flood Control Addon Messages Original Closed PR by @Kitzunu https://github.com/azerothcore/azerothcore-wotlk/pull/11675 Cherrypicked TC: cherry-pick commit (TrinityCore/TrinityCore@5384fc1) cherry-pick commit (stoneharry/TrinityCore@a0629fc) Co-Authored-By: stoneharry 3818405+stoneharry@users.noreply.github.com Co-Authored-By: Shauren shauren.trinity@gmail.com Co-Authored-By: stoneharry <3818405+stoneharry@users.noreply.github.com> Co-Authored-By: Shauren <shauren.trinity@gmail.com> Co-Authored-By: Kitzunu <24550914+Kitzunu@users.noreply.github.com> * update: (pr): Review Response * update: (core): Chathandler No reason why this case should even exist. Previous or current. This cast is under two sided interations which will always lead to you being in a group of some sorts. there is literally zero sense having a above or equal to level 80 if statement here. * update (cleanup): Code Style suggestion per @Nefertumm Co-Authored-By: Angelo Venturini <nefertum.dev@protonmail.com> Co-authored-by: stoneharry <3818405+stoneharry@users.noreply.github.com> Co-authored-by: Shauren <shauren.trinity@gmail.com> Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Co-authored-by: Angelo Venturini <nefertum.dev@protonmail.com>
This commit is contained in:
@@ -153,9 +153,6 @@ Player::Player(WorldSession* session): Unit(true), m_mover(this)
|
||||
#pragma warning(default:4355)
|
||||
#endif
|
||||
|
||||
m_speakTime = 0;
|
||||
m_speakCount = 0;
|
||||
|
||||
m_objectType |= TYPEMASK_PLAYER;
|
||||
m_objectTypeId = TYPEID_PLAYER;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user