diff --git a/src/AuctionHouseBot.cpp b/src/AuctionHouseBot.cpp index 294fd7e..637722e 100644 --- a/src/AuctionHouseBot.cpp +++ b/src/AuctionHouseBot.cpp @@ -761,7 +761,7 @@ void AuctionHouseBot::InitializeConfiguration() ItemsPerCycle = sConfigMgr->GetOption("AuctionHouseBot.ItemsPerCycle", 200); } -void AuctionHouseBot::Commands(uint32 command, uint32 ahMapID, uint32 col, char* args) +void AuctionHouseBot::Commands(uint32 command, uint32 ahMapID, char* args) { AHBConfig *config = NULL; switch (ahMapID) diff --git a/src/AuctionHouseBot.h b/src/AuctionHouseBot.h index 1953b96..7768c51 100644 --- a/src/AuctionHouseBot.h +++ b/src/AuctionHouseBot.h @@ -168,7 +168,7 @@ public: void Initialize(); void InitializeConfiguration(); void LoadValues(AHBConfig*); - void Commands(uint32, uint32, uint32, char*); + void Commands(uint32 command, uint32 ahMapID, char* args); ObjectGuid::LowType GetAHBplayerGUID() { return AHBplayerGUID; }; }; diff --git a/src/cs_ah_bot.cpp b/src/cs_ah_bot.cpp index 215c8a8..20610b2 100644 --- a/src/cs_ah_bot.cpp +++ b/src/cs_ah_bot.cpp @@ -97,7 +97,7 @@ public: return false; } - auctionbot->Commands(0, ahMapID, 0, NULL); + auctionbot->Commands(0, ahMapID, NULL); } else if (strncmp(opt, "minitems", l) == 0) { @@ -108,7 +108,7 @@ public: return false; } - auctionbot->Commands(1, ahMapID, 0, param1); + auctionbot->Commands(1, ahMapID, param1); } else if (strncmp(opt, "maxitems", l) == 0) { @@ -119,7 +119,7 @@ public: return false; } - auctionbot->Commands(2, ahMapID, 0, param1); + auctionbot->Commands(2, ahMapID, param1); } else if (strncmp(opt, "bidinterval", l) == 0) { @@ -131,7 +131,7 @@ public: return false; } - auctionbot->Commands(12, ahMapID, 0, param1); + auctionbot->Commands(12, ahMapID, param1); } else if (strncmp(opt, "bidsperinterval", l) == 0) { @@ -143,7 +143,7 @@ public: return false; } - auctionbot->Commands(13, ahMapID, 0, param1); + auctionbot->Commands(13, ahMapID, param1); } else {