diff --git a/src/game/Chat.cpp b/src/game/Chat.cpp index b78aae2d6..449267f87 100644 --- a/src/game/Chat.cpp +++ b/src/game/Chat.cpp @@ -651,14 +651,14 @@ bool ChatHandler::HasLowerSecurityAccount(WorldSession* target, uint32 target_ac { uint32 target_sec; - // ignore only for non-players for non strong checks (when allow apply command at least to same sec level) - if (m_session->GetSecurity() > SEC_PLAYER && !strong && !sWorld.getConfig(CONFIG_GM_LOWER_SECURITY)) - return false; - // allow everything from console and RA console if (!m_session) return false; + // ignore only for non-players for non strong checks (when allow apply command at least to same sec level) + if (m_session->GetSecurity() > SEC_PLAYER && !strong && !sWorld.getConfig(CONFIG_GM_LOWER_SECURITY)) + return false; + if (target) target_sec = target->GetSecurity(); else if (target_account) diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index ef8e329c7..a1e4566a2 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "7065" + #define REVISION_NR "7066" #endif // __REVISION_NR_H__