Added msgID(arg11) to debug and spam output.
Erik L. Vonderscheer [07-18-09 - 16:29]
Added msgID(arg11) to debug and spam output.
diff --git a/Docs/main.txt b/Docs/main.txt
index 2df0294..6e0ac48 100644
--- a/Docs/main.txt
+++ b/Docs/main.txt
@@ -35,7 +35,7 @@ lfg,
Adding a set, e.g. [xXyY], will attempt to find a match for any character given in a set. Example: lf[wWeEmM] will match for lfw, lfe and lfm.
=== Black and White Lists
-TradeFilter also has a built in Black and White list. Refer to the {{http://www.wowace.com/addons/trade-filter/#w-filtering-priorities|Filtering Priorities}} for how Black and White lists are checked.
+TradeFilter also has a built in Black and White list. Refer to the [[http://www.wowace.com/addons/trade-filter/#w-filtering-priorities|Filtering Priorities]] for how Black and White lists are checked.
=== Filtering Priorities
{{http://static.wowace.com/uploads/19/16/173/TradeFilter_Flowchart.png}}
diff --git a/TradeFilter3.lua b/TradeFilter3.lua
index de3816f..523410d 100644
--- a/TradeFilter3.lua
+++ b/TradeFilter3.lua
@@ -542,6 +542,7 @@ function TF3:FilterFunc(...)
local userID = arg2 or select(2, ...)
local zoneID = arg7 or select(7, ...)
local chanID = arg8 or select(8, ...)
+ local msgID = arg11 or select(11, ...)
local msg = lower(msg)
if (chanID == 1) then
chan = "1. " .. L["General"]
@@ -556,7 +557,7 @@ function TF3:FilterFunc(...)
filtered = true
if (TF3.db.profile.debug) then
if (lastmsg ~= msg or lastuserID ~= userID) then
- TF3:FindFrame(debugFrame, "|cFFC08080[" .. chan .. "]|r |cFFD9D9D9[" .. userID .. "]:|r |cFFC08080" .. msg .. "|r")
+ TF3:FindFrame(debugFrame, "|cFFC08080[" .. chan .. "]|r |cFFD9D9D9[" .. msgID .. "]|r |cFFD9D9D9[" .. userID .. "]:|r |cFFC08080" .. msg .. "|r")
end
end
if (zoneID == 2) then
@@ -600,7 +601,7 @@ function TF3:FilterFunc(...)
TF3:FindFrame(debugFrame, L["NOMATCH"])
end
if (TF3.db.profile.redirect) then
- TF3:FindFrame(redirectFrame, "|cFFC08080[" .. chan .. "]|r |cFFD9D9D9[" .. userID .. "]:|r |cFFC08080" .. msg .. "|r")
+ TF3:FindFrame(redirectFrame, "|cFFC08080[" .. chan .. "]|r |cFFD9D9D9[" .. msgID .. "]|r |cFFD9D9D9[" .. userID .. "]:|r |cFFC08080" .. msg .. "|r")
end
lastmsg, lastuserID = msg, userID
end