From 0b8c83eaa1fdb0fcb610f9181145abde3d60d803 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Mon, 23 Nov 2020 20:34:09 -0500 Subject: progress 2 --- discord/channel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'discord/channel.cpp') diff --git a/discord/channel.cpp b/discord/channel.cpp index b99971c..ca0f06a 100644 --- a/discord/channel.cpp +++ b/discord/channel.cpp @@ -42,6 +42,6 @@ void Channel::update_from_json(const nlohmann::json &j) { JS_RD("last_pin_timestamp", LastPinTimestamp); } -const PermissionOverwrite *Channel::GetOverwrite(Snowflake id) const { +std::optional Channel::GetOverwrite(Snowflake id) const { return Abaddon::Get().GetDiscordClient().GetPermissionOverwrite(ID, id); } -- cgit v1.2.3