Backed out changeset: 4af1c2ab3816 (bug 5864).
--HG-- extra : rebase_source : 7a3f03aaa4bb80d4b01c59cdb4dc12b0f5e020da
This commit is contained in:
parent
4d43374fde
commit
cf39bc97a5
@ -333,8 +333,11 @@ void ChatTriggers::OnSayCommand_Post()
|
||||
{
|
||||
int client = g_ConCmds.GetCommandClient();
|
||||
|
||||
if (m_bWillProcessInPost && client > 0)
|
||||
if (m_bWillProcessInPost)
|
||||
{
|
||||
/* Reset this for re-entrancy */
|
||||
m_bWillProcessInPost = false;
|
||||
|
||||
/* Execute the cached command */
|
||||
unsigned int old = SetReplyTo(SM_REPLY_CHAT);
|
||||
#if SOURCE_ENGINE == SE_DOTA
|
||||
@ -345,9 +348,6 @@ void ChatTriggers::OnSayCommand_Post()
|
||||
SetReplyTo(old);
|
||||
}
|
||||
|
||||
/* Reset this for re-entrancy */
|
||||
m_bWillProcessInPost = false;
|
||||
|
||||
if (m_bPluginIgnored)
|
||||
{
|
||||
m_bPluginIgnored = false;
|
||||
|
Loading…
Reference in New Issue
Block a user