[Eluna] Applied a load of missing hooks

This commit is contained in:
Antz 2017-01-09 00:30:17 +00:00 committed by Antz
parent 253017e2eb
commit 7332173b6e
24 changed files with 462 additions and 14 deletions

View file

@ -1985,6 +1985,10 @@ void World::ShutdownServ(uint32 time, uint32 options, uint8 exitcode)
m_ShutdownTimer = time;
ShutdownMsg(true);
}
///- Used by Eluna
#ifdef ENABLE_ELUNA
sEluna->OnShutdownInitiate(ShutdownExitCode(exitcode), ShutdownMask(options));
#endif /* ENABLE_ELUNA */
}
/// Display a shutdown message to the user(s)