Skip to content

Commit

Permalink
Fixes missing message cache bug
Browse files Browse the repository at this point in the history
  • Loading branch information
SinisterRectus committed Jan 29, 2023
1 parent 397dce0 commit 8183e21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/client/EventHandler.lua
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ local function getChannel(client, d)
end
end
end
return channel
return channel and channel._messages and channel
end

local EventHandler = setmetatable({}, {__index = function(self, k)
Expand Down

0 comments on commit 8183e21

Please sign in to comment.