mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-28 04:42:10 +01:00
* Tabs to spaces -- using: perl -p -i -e "s/\t/ /g" *
--HG-- branch : trunk
This commit is contained in:
@@ -1033,11 +1033,11 @@ int ChatHandler::ParseCommands(const char* text)
|
||||
++text;
|
||||
|
||||
if(!ExecuteCommandInTable(getCommandTable(), text, fullcmd))
|
||||
{
|
||||
if(m_session && m_session->GetSecurity() == SEC_PLAYER)
|
||||
return 0;
|
||||
SendSysMessage(LANG_NO_CMD);
|
||||
}
|
||||
{
|
||||
if(m_session && m_session->GetSecurity() == SEC_PLAYER)
|
||||
return 0;
|
||||
SendSysMessage(LANG_NO_CMD);
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user