mirror of
https://github.com/NathanHandley/mod-ah-bot-plus.git
synced 2026-01-13 01:08:37 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user