changeset 26:3af56b6545e0 v6

Fixed an issue with realm names
author Adam tegen <adam.tegen@gmail.com>
date Wed, 15 Oct 2014 19:07:51 -0500
parents 612216ba58db
children 0eb7f9a8e9a2
files AskMrRobot.lua AskMrRobot.toc
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/AskMrRobot.lua	Wed Oct 15 10:33:31 2014 -0700
+++ b/AskMrRobot.lua	Wed Oct 15 19:07:51 2014 -0500
@@ -828,7 +828,7 @@
     -- require realm/name match
     local realm = parts[2]
     local name = parts[3]
-    if realm ~= AmrDb.RealmName or name ~= AmrDb.CharacterName then
+    if name ~= AmrDb.CharacterName then
         local badPers = name .. " (" .. realm .. ")"
         local goodPers = AmrDb.CharacterName .. " (" .. AmrDb.RealmName .. ")"
         return L.AMR_IMPORT_ERROR_CHAR:format(badPers, goodPers)
--- a/AskMrRobot.toc	Wed Oct 15 10:33:31 2014 -0700
+++ b/AskMrRobot.toc	Wed Oct 15 19:07:51 2014 -0500
@@ -1,7 +1,7 @@
 ## Interface: 60000
 ## Title: Ask Mr. Robot
 ## Author: Team Robot, Inc.
-## Version: 5
+## Version: 6
 ## Notes: Exports/Imports data to/from askmrrobot.com.
 ## URL: www.askmrrobot.com
 ## DefaultState: Enabled