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

@@ -4,13 +4,19 @@
# SOLO LFG
###################################################################################################
# EnableSoloLfg
# SoloLFG.Enable
# Description: Enable the module
# Default: 1 - (Enabled)
# 0 - (Disabled)
LFG.SoloMode = 1
SoloLFG.Enable = 1
# SoloLFG.Announce
# Description: Announce the module
# Default: 1 - (Enabled)
# 0 - (Disabled)
SoloLFG.Announce = 1
###################################################################################################

View File

@@ -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())
{