diff options
author | megamage <none@none> | 2009-08-06 17:42:44 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-08-06 17:42:44 -0500 |
commit | e8556b879d36ad8899d6eb40e98f6de6d420a275 (patch) | |
tree | 7d37b85d4bbd1790da4ce1bf36de27affa6ea3d8 /src/shared/Util.cpp | |
parent | b35e7ac28d4a48e1a8acf3dfc78c2e6ce031eb51 (diff) |
[8311] Prevent multiline fake messages in chat. Author: horogandris
--HG--
branch : trunk
Diffstat (limited to 'src/shared/Util.cpp')
-rw-r--r-- | src/shared/Util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/Util.cpp b/src/shared/Util.cpp index 354568c778f..644769f2069 100644 --- a/src/shared/Util.cpp +++ b/src/shared/Util.cpp @@ -131,7 +131,7 @@ Tokens StrSplit(const std::string &src, const std::string &sep) void stripLineInvisibleChars(std::string &str) { - static std::string invChars = " \t\7"; + static std::string invChars = " \t\7\n"; size_t wpos = 0; |