diff options
Diffstat (limited to 'src/server/game/Chat/Chat.cpp')
-rw-r--r-- | src/server/game/Chat/Chat.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/game/Chat/Chat.cpp b/src/server/game/Chat/Chat.cpp index ae2d0792f60..1601823a568 100644 --- a/src/server/game/Chat/Chat.cpp +++ b/src/server/game/Chat/Chat.cpp @@ -38,6 +38,8 @@ #include <boost/algorithm/string/replace.hpp> #include <sstream> +Player* ChatHandler::GetPlayer() { return m_session ? m_session->GetPlayer() : nullptr; } + // Lazy loading of the command table cache from commands and the // ScriptMgr should be thread safe since the player commands, // cli commands and ScriptMgr updates are all dispatched one after |