Quantcast

Just in case

Darthpred [10-15-14 - 17:50]
Just in case
Filename
ElvUI_SLE/modules/chat.lua
diff --git a/ElvUI_SLE/modules/chat.lua b/ElvUI_SLE/modules/chat.lua
index 90b743e..064a25a 100644
--- a/ElvUI_SLE/modules/chat.lua
+++ b/ElvUI_SLE/modules/chat.lua
@@ -243,7 +243,7 @@ function CH:CheckLFGRoles()
 			role = UnitGroupRolesAssigned(unit..i)
 			local name, realm = UnitName(unit..i)
 			if(role and name) then
-				name = realm ~= '' and name..'-'..realm or name ..'-'..PLAYER_REALM;
+				name = (realm and realm ~= '') and name..'-'..realm or name ..'-'..PLAYER_REALM;
 				lfgRoles[name] = rolePaths[role]
 			end
 		end