diff options
author | Yehonal <yehonal.azeroth@gmail.com> | 2017-09-18 19:36:26 +0200 |
---|---|---|
committer | Yehonal <yehonal.azeroth@gmail.com> | 2017-09-18 19:36:26 +0200 |
commit | af6fc3d873e46d15a53f02417d20089710a95d45 (patch) | |
tree | 0b1d014f6ea23034158f7c3edd08601fd1bde164 /src/scripts/Commands/cs_lfg.cpp | |
parent | 84d6011a3df2d1ab83e7c90da1e50553425ca780 (diff) |
Uncommented some utils functions for LFG
Diffstat (limited to 'src/scripts/Commands/cs_lfg.cpp')
-rw-r--r-- | src/scripts/Commands/cs_lfg.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/scripts/Commands/cs_lfg.cpp b/src/scripts/Commands/cs_lfg.cpp index d2bb608242..88b2d72573 100644 --- a/src/scripts/Commands/cs_lfg.cpp +++ b/src/scripts/Commands/cs_lfg.cpp @@ -11,7 +11,7 @@ #include "Group.h" #include "Player.h" -void GetPlayerInfo(ChatHandler* /*handler*/, Player* player) +void GetPlayerInfo(ChatHandler* handler, Player* player) { if (!player) return; @@ -19,10 +19,10 @@ void GetPlayerInfo(ChatHandler* /*handler*/, Player* player) uint64 guid = player->GetGUID(); lfg::LfgDungeonSet dungeons = sLFGMgr->GetSelectedDungeons(guid); - /*std::string const& state = lfg::GetStateString(sLFGMgr->GetState(guid)); + std::string const& state = lfg::GetStateString(sLFGMgr->GetState(guid)); handler->PSendSysMessage(LANG_LFG_PLAYER_INFO, player->GetName().c_str(), state.c_str(), uint8(dungeons.size()), lfg::ConcatenateDungeons(dungeons).c_str(), - lfg::GetRolesString(sLFGMgr->GetRoles(guid)).c_str(), sLFGMgr->GetComment(guid).c_str());*/ + lfg::GetRolesString(sLFGMgr->GetRoles(guid)).c_str(), sLFGMgr->GetComment(guid).c_str()); } class lfg_commandscript : public CommandScript |