mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-06 08:59:11 +01:00
[8311] Prevent multiline fake messages in chat. Author: horogandris
--HG-- branch : trunk
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user