Quantcast

- Coding repairs for Classic.

HonorGoG [07-04-21 - 21:19]
- Coding repairs for Classic.
- Updated for 1.0.2.20501 release.
Filename
myReputationClassic/myReputationClassic.lua
myReputationClassic/myReputationClassic.toc
diff --git a/myReputationClassic/myReputationClassic.lua b/myReputationClassic/myReputationClassic.lua
index 4179c9e..0c6e5c5 100755
--- a/myReputationClassic/myReputationClassic.lua
+++ b/myReputationClassic/myReputationClassic.lua
@@ -17,7 +17,7 @@

 -- Basic Addon Variables
 MYREP_NAME = "myReputationClassic";
-MYREP_VERSION = GetAddOnMetadata("myReputation", "Version") or "N/A";
+MYREP_VERSION = GetAddOnMetadata("myReputationClassic", "Version") or "N/A";
 MYREP_VERSION_STRING = "|cffffd700myReputation Classic "..GREEN_FONT_COLOR_CODE..MYREP_VERSION.."|cffffd700 by |cffff8c00HonorGoG";
 MYREP_MSG_FORMAT = "%s |cffffff00%s|r";
 MYREP_REGEXP_CHANGED = string.gsub( FACTION_STANDING_CHANGED, "'?%%[1|2]$s'?", "%(.+)" );
@@ -71,7 +71,7 @@ function myReputation_OnLoad(this)
     this:RegisterEvent("PLAYER_LEAVING_WORLD");

     if (DEFAULT_CHAT_FRAME) then
-        myReputation_ChatMsg(MYREP_VERSION);
+        myReputation_ChatMsg(MYREP_VERSION_STRING);
     end
 end

diff --git a/myReputationClassic/myReputationClassic.toc b/myReputationClassic/myReputationClassic.toc
index 5d578b1..fe478df 100755
--- a/myReputationClassic/myReputationClassic.toc
+++ b/myReputationClassic/myReputationClassic.toc
@@ -1,7 +1,7 @@
-## Interface: 11304
-## Title: myReputation Classic |cff00aa001.0.1.11304|r
+## Interface: 20501
+## Title: myReputation Classic |cff00aa001.0.2.20501|r
 ## Author: HonorGoG of the Titan Panel Development Team
-## Version: 1.0.1.11304
+## Version: 1.0.2.20501
 ## SavedVariables: myReputation_Config
 ## Notes: Changed display of reputation window and chat messages
 ## X-Credits: Egris, Karmond and Larry @ Baelgun.