Skip to content

Commit

Permalink
Prevent missing line number causing an message processing error (Gree…
Browse files Browse the repository at this point in the history
…nwall)
  • Loading branch information
plusmouse committed Oct 7, 2023
1 parent 2dcb80d commit b076cc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/addon.lua
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ function addon:ChatFrame_MessageEventHandler(this, event, ...)
elseif m.OUTPUT:len() > 0 then

-- Hack to get the censored message display working with Prat
local isChatLineCensored = C_ChatInfo.IsChatLineCensored(arg11);
local isChatLineCensored = arg11 and C_ChatInfo.IsChatLineCensored(arg11);
local msg = isChatLineCensored and arg1 or m.OUTPUT

if isChatLineCensored then
Expand Down

0 comments on commit b076cc1

Please sign in to comment.