You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Communications.lua
+9-6Lines changed: 9 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -300,8 +300,9 @@ end
300
300
301
301
localfunctionParseGuildChatCommands(text)
302
302
ifUnitLevel('player') ~=addon.EXPANSION_LEVELthenreturnend-- Don't bother checking anything if the unit is unable to acquire a key
303
-
ifnotcanaccessvalue(text) thenreturnend
304
-
text=gsub(text, "^%[%a+%] ", "") -- Strip off [SomeName] from message from using Identity-2
303
+
ifcanaccessvalue(text) then
304
+
text=gsub(text, "^%[%a+%] ", "") -- Strip off [SomeName] from message from using Identity-2
305
+
end
305
306
iftext:lower() ==addon.KEYS_TEXT_COMMANDthen
306
307
localguild=GetGuildInfo('player')
307
308
ifAstralKeysSettings.general.report_on_message['guild'] or (guild=='Astral' andaddon.PlayerRealm() =='Area52') then-- Guild leader for Astral desires this setting to be foreced on for members.
0 commit comments