Merge pull request #1 from conan513/master

Typo fixes
This commit is contained in:
Francesco Borzì
2017-12-05 15:22:03 +01:00
committed by GitHub
2 changed files with 6 additions and 6 deletions

View File

@@ -1,8 +1,8 @@
## mod-learnspells
## mod-account-achievements
# LearnAllSpells module for AzerothCore.
# Account Achievements module for AzerothCore.
LearnAllSpells teach new spells on level-up, like in Cataclysm and up.
Share your characters achievements to all on your account.
# Original script:
http://www.ac-web.org/forums/showthread.php?172918-C-Automatically-Learn-New-Spells
http://www.ac-web.org/forums/showthread.php?223586-Account-Bound-Achievements

View File

@@ -92,9 +92,9 @@ public:
{
if (!reload) {
std::string conf_path = _CONF_DIR;
std::string cfg_file = conf_path + "/mod_achievement.conf";
std::string cfg_file = conf_path + "/mod_achievements.conf";
#ifdef WIN32
cfg_file = "mod_achievement.conf";
cfg_file = "mod_achievements.conf";
#endif
std::string cfg_def_file = cfg_file + ".dist";
sConfigMgr->LoadMore(cfg_def_file.c_str());