diff --git a/addon/addon.lua b/addon/addon.lua index cc7761a..c642b24 100644 --- a/addon/addon.lua +++ b/addon/addon.lua @@ -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