Update others.cpp

This commit is contained in:
BenCat07 2018-02-25 13:53:16 +01:00 committed by GitHub
parent f663511add
commit 7352f83c28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -695,9 +695,11 @@ bool DispatchUserMessage_hook(void *_this, int type, bf_read &buf)
static const char *lastfilter; static const char *lastfilter;
static const char *lastname; static const char *lastname;
static bool retrun = false; static bool retrun = false;
if (data[0] != LOCAL_E->m_IDX) {
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)
{ {