WoWInterface SVN StopTradeSpam

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 46 to Rev 47
    Reverse comparison

Rev 46 → Rev 47

StopTradeSpam/StopTradeSpam.lua
50,17 → 50,17
if not STS_SV then
return false
end
if select(1,...) ~= "all" then
if select(1,...) == "all" then
STS_SV = nil
elseif select(1,...) == "ignore" then
STS_SV["ignore"][tignlist] = nil
STS_SV["ignore"][tignlist] = { }
else
for i,j in pairs(STS_SV) do
if i ~= "ignore" then
j = nil
end
end
elseif select(1,...) == "ignore" then
STS_SV["ignore"][tignlist] = nil
STS_SV["ignore"][tignlist] = { }
else
STS_SV = nil
end
return true
end
340,7 → 340,11
dcfa("\124cffff0000/sts options \124cff00ff00Not yet working.")
dcfa("\124cffff0000/sts reset \124cff00ff00Reset language setting, language filters to default, T-ignorelist is not resetted")
elseif STScommand[1] == "reset" then
STS_ResetSV()
if STScommand[2] then
STS_ResetSV(STScommand[2])
else
STS_ResetSV()
end
STS_InitSV()
elseif STScommand[1] == "list" then
STS_List(STScommand[2])