mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-29 00:23:48 +00:00
Merge branch 'master' into Playerbot
This commit is contained in:
@@ -18,7 +18,6 @@
|
||||
#ifndef _CHANNEL_H
|
||||
#define _CHANNEL_H
|
||||
|
||||
#include "Common.h"
|
||||
#include "WorldPacket.h"
|
||||
#include "WorldSession.h"
|
||||
#include <string>
|
||||
|
||||
@@ -506,6 +506,9 @@ bool Acore::Impl::ChatCommands::ChatCommandNode::IsInvokerVisible(ChatHandler co
|
||||
if (!_invoker)
|
||||
return false;
|
||||
|
||||
if (!sScriptMgr->OnBeforeIsInvokerVisible(_name, _permission, who))
|
||||
return true;
|
||||
|
||||
if (who.IsConsole() && (_permission.AllowConsole == Acore::ChatCommands::Console::No))
|
||||
return false;
|
||||
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
#include "SharedDefines.h"
|
||||
#include "SpellInfo.h"
|
||||
#include "SpellMgr.h"
|
||||
#include "World.h"
|
||||
|
||||
using namespace Acore::Hyperlinks;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user