mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +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)
|
void stripLineInvisibleChars(std::string &str)
|
||||||
{
|
{
|
||||||
static std::string invChars = " \t\7";
|
static std::string invChars = " \t\7\n";
|
||||||
|
|
||||||
size_t wpos = 0;
|
size_t wpos = 0;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "8310"
|
#define REVISION_NR "8311"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue