diff options
Diffstat (limited to '')
-rw-r--r-- | src/Root.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Root.cpp b/src/Root.cpp index 9ccb18729..57782fbb4 100644 --- a/src/Root.cpp +++ b/src/Root.cpp @@ -500,7 +500,7 @@ void cRoot::QueueExecuteConsoleCommand(const AString & a_Cmd, cCommandOutputCall cRoot::Get()->ForEachPlayer( [&](cPlayer & a_Player) { - a_Player.GetClientHandlePtr()->Kick(m_Server->GetShutdownMessage()); + a_Player.GetClientHandle()->Kick(m_Server->GetShutdownMessage()); SentDisconnect = true; return false; } |