Removed unused parameter

This commit is contained in:
NathanHandley
2023-11-16 08:14:16 -06:00
parent 12de8f0459
commit f88bdc7e77
3 changed files with 7 additions and 7 deletions

View File

@@ -761,7 +761,7 @@ void AuctionHouseBot::InitializeConfiguration()
ItemsPerCycle = sConfigMgr->GetOption<uint32>("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)

View File

@@ -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; };
};

View File

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