fix(Core/Chat): Correct misstake in b81bcfbfea causing outputs to CLI not working properly
* closes https://github.com/azerothcore/azerothcore-wotlk/issues/19592
This commit is contained in:
parent
b81bcfbfea
commit
7b102f53f2
2 changed files with 11 additions and 2 deletions
|
|
@ -430,7 +430,7 @@ Player* ChatHandler::getSelectedPlayerOrSelf() const
|
|||
return targetPlayer;
|
||||
}
|
||||
|
||||
bool ChatHandler::HasSession()
|
||||
bool ChatHandler::HasSession() const
|
||||
{
|
||||
if (!m_session)
|
||||
return false;
|
||||
|
|
@ -967,6 +967,11 @@ int CliHandler::GetSessionDbLocaleIndex() const
|
|||
return sObjectMgr->GetDBCLocaleIndex();
|
||||
}
|
||||
|
||||
bool CliHandler::HasSession() const
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
bool AddonChannelCommandHandler::ParseCommands(std::string_view str)
|
||||
{
|
||||
if (memcmp(str.data(), "AzerothCore\t", 12))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue