comparison 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
comparison
equal deleted inserted replaced
28:4317e56e0a91 29:aabec73640a0
757 return "$" .. table.concat(fields, ";") .. "$" 757 return "$" .. table.concat(fields, ";") .. "$"
758 end 758 end
759 759
760 function AskMrRobot.ExportToAddonChat(timestamp) 760 function AskMrRobot.ExportToAddonChat(timestamp)
761 local msg = AskMrRobot.ExportToCompressedString(false) 761 local msg = AskMrRobot.ExportToCompressedString(false)
762 local msgPrefix = timestamp .. "\n" .. AmrRealmName .. "\n" .. AmrCharacterName .. "\n" 762 local msgPrefix = timestamp .. "\n" .. AmrDb.RealmName .. "\n" .. AmrDb.CharacterName .. "\n"
763 763
764 -- break the data into 250 character chunks (to deal with the short limit on addon message size) 764 -- break the data into 250 character chunks (to deal with the short limit on addon message size)
765 local chunks = {} 765 local chunks = {}
766 local i = 1 766 local i = 1
767 local length = string.len(msg) 767 local length = string.len(msg)