mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-25 22:56:24 +00:00
logout bots in kickall
This commit is contained in:
@@ -2746,6 +2746,8 @@ void World::KickAll()
|
||||
// pussywizard: kick offline sessions
|
||||
for (SessionMap::const_iterator itr = _offlineSessions.begin(); itr != _offlineSessions.end(); ++itr)
|
||||
itr->second->KickPlayer("KickAll offline sessions");
|
||||
|
||||
sScriptMgr->OnPlayerbotLogoutBots();
|
||||
}
|
||||
|
||||
/// Kick (and save) all players with security level less `sec`
|
||||
|
||||
Reference in New Issue
Block a user