WoWInterface SVN StopTradeSpam

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 50 to Rev 51
    Reverse comparison

Rev 50 → Rev 51

trunk/StopTradeSpam/StopTradeSpam.lua
48,15 → 48,21
end
if select(1,...) == "all" then
STS_SV = nil
dcfa("Error, sorry :-(")
elseif select(1,...) == "ignore" then
STS_SV["ignore"][tignlist] = nil
STS_SV["ignore"][tignlist] = { }
else
dcfa("Ignorelist cleared.")
elseif not select(1,...) then
for i,j in pairs(STS_SV) do
if i ~= "ignore" then
j = nil
end
end
dcfa("Returning settings to default.")
else
dcfa("Wrong parameters.")
return false
end
return true
end