mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[8311] Prevent multiline fake messages in chat.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
0a534fda64
commit
58764efabd
2 changed files with 2 additions and 2 deletions
|
|
@ -73,7 +73,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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue