From e8556b879d36ad8899d6eb40e98f6de6d420a275 Mon Sep 17 00:00:00 2001 From: megamage Date: Thu, 6 Aug 2009 17:42:44 -0500 Subject: [8311] Prevent multiline fake messages in chat. Author: horogandris --HG-- branch : trunk --- src/shared/Util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shared/Util.cpp') 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; -- cgit v1.2.3