From 4b637b6ff20784ffde41c521be0fd7199f4a5a9b Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Sat, 29 Aug 2020 16:38:52 -0400 Subject: crash fixes --- components/channels.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'components/channels.cpp') diff --git a/components/channels.cpp b/components/channels.cpp index adaa11d..b3af191 100644 --- a/components/channels.cpp +++ b/components/channels.cpp @@ -160,6 +160,7 @@ void ChannelList::SetListingFromGuildsInternal() { AddPrivateChannels(); // map each category to its channels + std::unordered_map> cat_to_channels; std::unordered_map> orphan_channels; for (const auto &[gid, guild] : *guilds) { -- cgit v1.2.3