@@ -448,6 +448,7 @@ ChatCommand * ChatHandler::getCommandTable()
448448 { " uninvite" , SEC_GAMEMASTER, true , &ChatHandler::HandleGuildUninviteCommand, " " , nullptr },
449449 { " rank" , SEC_GAMEMASTER, true , &ChatHandler::HandleGuildRankCommand, " " , nullptr },
450450 { " rename" , SEC_BASIC_ADMIN, true , &ChatHandler::HandleGuildRenameCommand, " " , nullptr },
451+ { " showlog" , SEC_GAMEMASTER, true , &ChatHandler::HandleGuildShowLogCommand, " " , nullptr },
451452 { nullptr , 0 , false , nullptr , " " , nullptr }
452453 };
453454
@@ -3894,6 +3895,15 @@ std::string ChatHandler::GetNameLink(Player* chr) const
38943895 return playerLink (chr->GetName ());
38953896}
38963897
3898+ std::string ChatHandler::GetNameLink (uint32 guidLow) const
3899+ {
3900+ std::string name;
3901+ if (sObjectMgr .GetPlayerNameByGUID (ObjectGuid (HIGHGUID_PLAYER, guidLow), name))
3902+ return playerLink (name);
3903+ else
3904+ return playerLink (std::to_string (guidLow));
3905+ }
3906+
38973907std::string ChatHandler::GetItemLink (ItemPrototype const * pItem) const
38983908{
38993909 if (m_session)
0 commit comments