diff options
author | Shauren <shauren.trinity@gmail.com> | 2018-04-07 00:06:59 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2018-04-07 00:06:59 +0200 |
commit | 454bae42c6412161a69dc9de2ee4e5edcbd7ee8c (patch) | |
tree | 2f0e6ddcc5767fd4644d73ec020444dc5e6a2a57 /src/server/game/Chat/ChatLink.cpp | |
parent | 2a84562dc85516f432bb1e5de9add23c28b26ce4 (diff) |
Core/Chat: Fixed chat link exploit
Closes #21790
Diffstat (limited to 'src/server/game/Chat/ChatLink.cpp')
-rw-r--r-- | src/server/game/Chat/ChatLink.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Chat/ChatLink.cpp b/src/server/game/Chat/ChatLink.cpp index e669c796011..8cacfdcefac 100644 --- a/src/server/game/Chat/ChatLink.cpp +++ b/src/server/game/Chat/ChatLink.cpp @@ -584,7 +584,7 @@ bool LinkExtractor::IsValidMessage() break; char commandChar; - _iss >> commandChar; + _iss.get(commandChar); // | in normal messages is escaped by || if (commandChar != PIPE_CHAR) |