eluna fix

when manually applying patch with a broken .conf we can ignore this until conf is fixed, fixed build with ahbot and eluna we cant define 2 confs
This commit is contained in:
Micrah
2019-03-02 14:29:39 +11:00
committed by GitHub
parent 17fa069b8d
commit 2116123d86

View File

@@ -174,7 +174,7 @@ index 01b1fe0acb..38b0e5fc90 100644
sAchievementMgr->LoadCompletedAchievements();
+#ifdef MOD_AH_BOT
+ std::string conf_path = _CONF_DIR;
+/* std::string conf_path = _CONF_DIR;
+ std::string cfg_file = conf_path + "/mod_ahbot.conf";
+#ifdef WIN32
+ cfg_file = "mod_ahbot.conf";
@@ -182,7 +182,7 @@ index 01b1fe0acb..38b0e5fc90 100644
+ std::string cfg_def_file = cfg_file + ".dist";
+ sConfigMgr->LoadMore(cfg_def_file.c_str());
+ sConfigMgr->LoadMore(cfg_file.c_str());
+
+*/
+ // Initialize AHBot settings before deleting expired auctions due to AHBot hooks
+ auctionbot->InitializeConfiguration();
+#endif