Attempt to fix an issue for players on realms that have a space in the realm name.
This commit is contained in:
@@ -13,8 +13,8 @@
|
||||
local addonName, Details222 = ...
|
||||
local version, build, date, tocversion = GetBuildInfo()
|
||||
|
||||
Details.build_counter = 12023
|
||||
Details.alpha_build_counter = 12023 --if this is higher than the regular counter, use it instead
|
||||
Details.build_counter = 12024
|
||||
Details.alpha_build_counter = 12024 --if this is higher than the regular counter, use it instead
|
||||
Details.dont_open_news = true
|
||||
Details.game_version = version
|
||||
Details.userversion = version .. " " .. Details.build_counter
|
||||
|
||||
@@ -178,7 +178,7 @@ do
|
||||
local playerName, realmName = UnitName(unitId)
|
||||
|
||||
if (not realmName) then
|
||||
realmName = GetRealmName()
|
||||
realmName = GetRealmName():gsub("%s", "")
|
||||
end
|
||||
|
||||
return playerName .. "-" .. realmName
|
||||
|
||||
Reference in New Issue
Block a user