fix(conf): Missing conf + rename other conf

This commit is contained in:
BarbzYHOOL
2020-03-22 22:55:51 +01:00
parent 24e4e29ae8
commit 925a4cc672
2 changed files with 12 additions and 6 deletions

View File

@@ -25,8 +25,8 @@ public:
// Announce Module
if (sConfigMgr->GetBoolDefault("SoloLFG.Announce", true))
{
ChatHandler(player->GetSession()).SendSysMessage("This server is running the |cff4CFF00Solo Dungeon Finder |rmodule.");
}
ChatHandler(player->GetSession()).SendSysMessage("This server is running the |cff4CFF00Solo Dungeon Finder |rmodule.");
}
}
};
@@ -39,7 +39,7 @@ public:
// to the player variable to tell the compiler it is fine not to use it.
void OnLogin(Player* player)
{
if (sConfigMgr->GetIntDefault("LFG.SoloMode", true))
if (sConfigMgr->GetIntDefault("SoloLFG.Enable", true))
{
if (!sLFGMgr->IsSoloLFG())
{