Core/Chat Commands: Partly revert "add name of GM (or Console) into output of gmannounce command (and also fix typo from previous commit)" as .gmnameannounce does exactly that

Core/Chat Commands: Allowed named announcement commands to run from console

This reverts commit 574f55382a.
This commit is contained in:
Shauren
2011-05-11 10:05:26 +02:00
parent 574f55382a
commit dc3ff5e5f2
5 changed files with 16 additions and 11 deletions
+1 -1
View File
@@ -2538,7 +2538,7 @@ void World::ProcessCliCommands()
callbackArg = command->m_callbackArg;
CliHandler handler(callbackArg, zprint);
handler.ParseCommands(command->m_command);
if(command->m_commandFinished)
if (command->m_commandFinished)
command->m_commandFinished(callbackArg, !handler.HasSentErrorMessage());
delete command;
}