Thread: Tables
View Single Post
03-08-09, 02:34 PM   #2
Foxlit
A Warpwood Thunder Caller
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 91
ProphDKP_duplicatebid is likely a global, so after the first time you set it to 1, it just stays equal to 1.

What you're looking for is something as short as:
Code:
if not ProphDKP_bidders[arg2] then 
	ProphDKP_bidders[arg2] = 1 
else 
	-- this is clearly a duplicate bid.
end
__________________
... and you do get used to it, after a while.
  Reply With Quote