Update others.cpp

This commit is contained in:
BenCat07 2018-03-03 12:05:26 +01:00 committed by GitHub
parent d505af9213
commit 900263d463
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -659,6 +659,7 @@ static CatVar clean_chat(CV_SWITCH, "clean_chat", "0", "Clean chat",
static CatVar dispatch_log(CV_SWITCH, "debug_log_usermessages", "0", static CatVar dispatch_log(CV_SWITCH, "debug_log_usermessages", "0",
"Log dispatched user messages"); "Log dispatched user messages");
std::string clear = ""; std::string clear = "";
static bool firstcall = true;
bool DispatchUserMessage_hook(void *_this, int type, bf_read &buf) bool DispatchUserMessage_hook(void *_this, int type, bf_read &buf)
{ {
int loop_index, s, i, j; int loop_index, s, i, j;