Skip to content

Commit 0548c66

Browse files
committed
[Fixes #170] Prevent communities chat error during active M+
1 parent c6ff730 commit 0548c66

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
@@ -1307,7 +1307,7 @@ function addonTable.MessagesMonitorMixin:MessageEventHandler(event, ...)
13071307

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

0 commit comments

Comments
 (0)