Quantcast

* Fix a bug where players were receiving their own messages

James Whitehead II [04-05-08 - 12:47]
* Fix a bug where players were receiving their own messages
Filename
TomTom.lua
diff --git a/TomTom.lua b/TomTom.lua
index d62803d..79df88b 100755
--- a/TomTom.lua
+++ b/TomTom.lua
@@ -487,7 +487,7 @@ end

 function TomTom:CHAT_MSG_ADDON(event, prefix, data, channel, sender)
 	if prefix ~= "TOMTOM2" then return end
-	--if sender == UnitName("player") then return end
+	if sender == UnitName("player") then return end

 	local zone,coord,title = string.split(":", data)
 	if not title:match("%S") then