From f35f1d02543d0734950b30992803eb44b31d68d5 Mon Sep 17 00:00:00 2001 From: sylvanaar Date: Tue, 9 Jun 2020 21:19:18 -0700 Subject: [PATCH] Memory: Handle channel number of 0 when adding channels --- modules/Memory.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/Memory.lua b/modules/Memory.lua index 67244fde..6592b48c 100644 --- a/modules/Memory.lua +++ b/modules/Memory.lua @@ -303,7 +303,7 @@ end ChatFrame_RemoveAllChannels(f) for i = 1, #db.channels, 2 do local chan = ChatFrame_AddChannel(f, db.channels[i]) - if not chan or (Prat.IsClassic and chan == 0) then + if not chan then dbg("failed to load", db.channels[i], chan) success = false end