Fix for 'is a GM' convert (Derp)

This commit is contained in:
Akkadius 2015-01-16 01:16:17 -06:00
parent d42a63b72d
commit 5b51f69753
2 changed files with 2 additions and 1 deletions

View File

@ -111,6 +111,7 @@ extern EQEmuLogSys logger;
/* If you add to this, make sure you update LogCategory */
static const char* LogCategoryName[EQEmuLogSys::LogCategory::MaxCategoryID] = {
"",
"Zone",
"World",
"UCS",

View File

@ -1511,7 +1511,7 @@ void Client::UpdateAdmin(bool iFromDB) {
if(m_pp.gm)
{
logger.LogDebugType(EQEmuLogSys::Moderate, EQEmuLogSys::Zone_Server, __FUNCTION__ "%s is a GM");
logger.LogDebugType(EQEmuLogSys::Moderate, EQEmuLogSys::Zone_Server, __FUNCTION__ "%s is a GM", GetName());
// no need for this, having it set in pp you already start as gm
// and it's also set in your spawn packet so other people see it too
// SendAppearancePacket(AT_GM, 1, false);