aboutsummaryrefslogtreecommitdiff
path: root/src/model/channel.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/channel.rs')
-rw-r--r--src/model/channel.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/channel.rs b/src/model/channel.rs
index d00bec5..f34eea0 100644
--- a/src/model/channel.rs
+++ b/src/model/channel.rs
@@ -888,7 +888,7 @@ impl PublicChannel {
/// **Note**: Right now this performs a clone of the guild. This will be
/// optimized in the future.
#[cfg(all(feature = "cache", feature = "methods"))]
- pub fn guild(&self) -> Option<LiveGuild> {
+ pub fn guild(&self) -> Option<Guild> {
CACHE.read().unwrap().get_guild(self.guild_id).cloned()
}