diff options
author | megamage <none@none> | 2009-01-07 11:56:57 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-01-07 11:56:57 -0600 |
commit | 75cd06b98c7dc489ee4554cf3af6a8f6403decee (patch) | |
tree | 4d9c2810ef818bc6a8a7f4f94a2375cc8dd41d71 /src/game/Chat.h | |
parent | fd07b66887e3a99ab7eeca9d00df12e57750558b (diff) |
*Mangos Implement AURA_STATE_HEALTH_ABOVE_75_PERCENT use. By DiSlord.
*Mangos [7045]. More correct spell select for creatures if spell PreventionType == SPELL_PREVENTION_TYPE_SILENCE. Also add check for PreventionType == SPELL_PREVENTION_TYPE_PACIFY. By DiSlord.
*Mangos [7046] Do more security level checks in commands using HasLowerSecurity. Make use .account set addon safe for players. By Vladimir.
*Mangos [7047] Fix Draenei race spell add at client switch. By DiSlord.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Chat.h')
-rw-r--r-- | src/game/Chat.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/Chat.h b/src/game/Chat.h index 5b364d8cb06..2626ebeb3ae 100644 --- a/src/game/Chat.h +++ b/src/game/Chat.h @@ -80,7 +80,8 @@ class ChatHandler virtual bool isAvailable(ChatCommand const& cmd) const; virtual bool needReportToTarget(Player* chr) const; - bool HasLowerSecurity(Player* target, uint64 guid); + bool HasLowerSecurity(Player* target, uint64 guid, bool strong = false); + bool HasLowerSecurityAccount(WorldSession* target, uint32 account, bool strong = false); void SendGlobalSysMessage(const char *str); void SendGlobalGMSysMessage(const char *str); |