1
0

Fixed style.

This commit is contained in:
madmaxoft
2014-08-30 22:24:04 +02:00
parent 26b8471280
commit db663c7ee1
2 changed files with 6 additions and 4 deletions

View File

@@ -211,13 +211,14 @@ void cCommandBlockEntity::Execute()
}
} CmdBlockOutCb(this);
if ( // Administrator commands are not executable by command blocks
// Administrator commands are not executable by command blocks:
if (
(m_Command != "stop") &&
(m_Command != "restart") &&
(m_Command != "kick") &&
(m_Command != "ban") &&
(m_Command != "ipban")
)
)
{
cServer * Server = cRoot::Get()->GetServer();
LOGD("cCommandBlockEntity: Executing command %s", m_Command.c_str());