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

@ -692,12 +692,14 @@ bool DispatchUserMessage_hook(void *_this, int type, bf_read &buf)
message.push_back(c); message.push_back(c);
} }
} }
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 (retrun) if (data[0] != LOCAL_E->m_IDX) {
PrintChat("\x07%06X%s\x01: \x07%06X%s\x01", 0xe05938, lastname, if (retrun)
0xefec1f, lastfilter); PrintChat("\x07%06X%s\x01: \x07%06X%s\x01", 0xe05938, lastname,
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)
{ {