mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 08:55:32 +01:00
*temp fix for the new "huge icons in chat" exploit
*you have to enable ChatFakeMessagePreventing in config file to work --HG-- branch : trunk
This commit is contained in:
@@ -158,6 +158,9 @@ void stripLineInvisibleChars(std::string &str)
|
||||
|
||||
if(wpos < str.size())
|
||||
str.erase(wpos,str.size());
|
||||
if(str.find("|TInterface")!=std::string::npos)
|
||||
str.clear();
|
||||
|
||||
}
|
||||
|
||||
std::string secsToTimeString(uint32 timeInSecs, bool shortText, bool hoursOnly)
|
||||
|
||||
Reference in New Issue
Block a user