Update others.cpp

This commit is contained in:
BenCat07 2018-02-25 13:26:54 +01:00 committed by GitHub
parent fd6c2e9674
commit f064d5f843
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -697,7 +697,7 @@ bool DispatchUserMessage_hook(void *_this, int type, bf_read &buf)
static bool retrun = false; static bool retrun = false;
if (retrun) if (retrun)
PrintChat("\x07%06X%s\x01: \x07%06X%s\x01", 0xe05938, lastname, PrintChat("\x07%06X%s\x01: \x07%06X%s\x01", 0xe05938, lastname,
0xefec1f, lastfilter); 0xefec1f, lastfilter);
retrun = false; retrun = false;
if (chat_filter_enabled && data[0] != LOCAL_E->m_IDX) if (chat_filter_enabled && data[0] != LOCAL_E->m_IDX)
{ {
@ -848,7 +848,7 @@ bool DispatchUserMessage_hook(void *_this, int type, bf_read &buf)
clear += "\n"; clear += "\n";
} }
chat_stack::Say(". " + clear, true); chat_stack::Say(". " + clear, true);
retrun = true; retrun = true;
lastfilter = filter.c_str(); lastfilter = filter.c_str();
lastname = name.c_str(); lastname = name.c_str();
} }