diff AskMrRobot.lua @ 29:aabec73640a0 v7

fixed bug with combat log code on entering combat
author yellowfive
date Fri, 17 Oct 2014 02:44:02 -0700
parents 3af56b6545e0
children 44c285acfff0
line wrap: on
line diff
--- a/AskMrRobot.lua	Fri Oct 17 00:08:54 2014 -0500
+++ b/AskMrRobot.lua	Fri Oct 17 02:44:02 2014 -0700
@@ -759,7 +759,7 @@
 
 function AskMrRobot.ExportToAddonChat(timestamp)
     local msg = AskMrRobot.ExportToCompressedString(false)
-    local msgPrefix = timestamp .. "\n" .. AmrRealmName .. "\n" .. AmrCharacterName .. "\n"
+    local msgPrefix = timestamp .. "\n" .. AmrDb.RealmName .. "\n" .. AmrDb.CharacterName .. "\n"
     
     -- break the data into 250 character chunks (to deal with the short limit on addon message size)
     local chunks = {}