From 4b613ac5d5e152072778eed9041bef2c226a9a49 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 15 Jun 2007 03:16:08 +0000 Subject: [PATCH] fixed bug amb386 --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40941 --- core/ChatTriggers.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/core/ChatTriggers.cpp b/core/ChatTriggers.cpp index e89216af..277334da 100644 --- a/core/ChatTriggers.cpp +++ b/core/ChatTriggers.cpp @@ -206,6 +206,7 @@ bool ChatTriggers::ProcessTrigger(edict_t *pEdict, const char *args, bool is_quo const char *inptr = args; while (*inptr != '\0' && !IsWhitespace(inptr) + && *inptr != '"' && cmd_len < sizeof(cmd_buf) - 1) { cmd_buf[cmd_len++] = *inptr++;