if( g_ChatFilter.CheckText(lpChat->chatmsg) == 0 ) //itt nulla volt
{
if( g_ChatFilter.UsePenalty )
{
lpObj->ChatLitmitTime += g_ChatFilter.BanTime;
g_ChatFilterLog.Output("[%s] [%s] (%s) Get chat block +%d [Total: %d]", lpObj->AccountID, lpObj->Name, lpChat->chatmsg, g_ChatFilter.BanTime, lpObj->ChatLitmitTime);
char Text[100];
ZeroMemory(Text, 99);
sprintf(Text, "[ChatFilter] You get +%d minute of ban time", g_ChatFilter.BanTime);
GCServerMsgStringSend(Text, aIndex, 1);
}
// ----
memcpy(lpChat->chatmsg, "*censored*", MAX_CHAT_LEN-1);
}