From 70d951d946ebf6f02f4e6b9969840c297d808456 Mon Sep 17 00:00:00 2001 From: Jenny White Date: Fri, 27 Apr 2018 00:44:21 +0300 Subject: [PATCH] =?UTF-8?q?Temporary=20workaround=20for=20on-inject=20cras?= =?UTF-8?q?h=20=F0=9F=A4=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/others.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/hooks/others.cpp b/src/hooks/others.cpp index ce7d7df4..66b40c30 100644 --- a/src/hooks/others.cpp +++ b/src/hooks/others.cpp @@ -718,13 +718,16 @@ static CatVar clean_chat(CV_SWITCH, "clean_chat", "0", "Clean chat", static CatVar dispatch_log(CV_SWITCH, "debug_log_usermessages", "0", "Log dispatched user messages"); std::string clear = ""; -Timer sendmsg{}; -Timer gitgud{}; +//Timer sendmsg{}; +//Timer gitgud{}; std::string lastfilter{}; std::string lastname{}; static bool retrun = false; bool DispatchUserMessage_hook(void *_this, int type, bf_read &buf) { + // TEMP!! + Timer sendmsg{}; + Timer gitgud{}; if (retrun && gitgud.test_and_set(10000)) { PrintChat("\x07%06X%s\x01: %s", 0xe05938, lastname.c_str(),