From bcd80d3e844ac6229090df74578002ce34115c9d Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sat, 12 Sep 2015 00:26:47 -0700 Subject: [PATCH] Fix a regression from the ConCmdManager refactoring that causes a crash using SourceMod commands in the server console. --- core/ConCmdManager.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/ConCmdManager.cpp b/core/ConCmdManager.cpp index 5e0e732f..249137c0 100644 --- a/core/ConCmdManager.cpp +++ b/core/ConCmdManager.cpp @@ -136,9 +136,7 @@ void CommandCallback(DISPATCH_ARGS) EngineArgs args(command); AutoEnterCommand autoEnterCommand(&args); - if (g_ConCmds.InternalDispatch(sCoreProviderImpl.CommandClient(), &args)) - RETURN_META(MRES_SUPERCEDE); - RETURN_META(MRES_IGNORED); + g_ConCmds.InternalDispatch(sCoreProviderImpl.CommandClient(), &args); } ConCmdInfo *ConCmdManager::FindInTrie(const char *name)