diff options
author | Rat <none@none> | 2009-08-28 00:31:27 +0200 |
---|---|---|
committer | Rat <none@none> | 2009-08-28 00:31:27 +0200 |
commit | 5be01b1d14362bfa61ad912e5eeac895623edd9a (patch) | |
tree | e1a245adb5329cb87bfbbf5a1c5c140c43f631bd | |
parent | ee3c766bc95f05018e7de30d9a0768fd1246be87 (diff) |
*temp fix for the new "huge icons in chat" exploit
*you have to enable ChatFakeMessagePreventing in config file to work
--HG--
branch : trunk
-rw-r--r-- | src/shared/Util.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/Util.cpp b/src/shared/Util.cpp index c0c8dc62b9d..41ed9c0fa8b 100644 --- a/src/shared/Util.cpp +++ b/src/shared/Util.cpp @@ -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) |