Skip to content

Commit c6ff730

Browse files
committed
Fix issecretvalue call on classic
1 parent 2e9f5cc commit c6ff730

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Core/Messages.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1305,7 +1305,7 @@ function addonTable.MessagesMonitorMixin:MessageEventHandler(event, ...)
13051305
playerLinkDisplayText = playerWrapper:format(coloredName);
13061306
end
13071307

1308-
local isCommunityType = (not issecretvalue or not issecretvalue(type)) and type == "COMMUNITIES_CHANNEL" or issecretvalue(type);
1308+
local isCommunityType = (not issecretvalue or not issecretvalue(type)) and type == "COMMUNITIES_CHANNEL" or (issecretvalue and issecretvalue(type))
13091309
if ( isCommunityType ) then
13101310
local isBattleNetCommunity = bnetIDAccount ~= nil and bnetIDAccount ~= 0;
13111311
local messageInfo, clubId, streamId, clubType = C_Club.GetInfoFromLastCommunityChatLine();

0 commit comments

Comments
 (0)