aboutsummaryrefslogtreecommitdiff
path: root/src/model
diff options
context:
space:
mode:
Diffstat (limited to 'src/model')
-rw-r--r--src/model/channel/mod.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/model/channel/mod.rs b/src/model/channel/mod.rs
index 98e5f8d..b82b22c 100644
--- a/src/model/channel/mod.rs
+++ b/src/model/channel/mod.rs
@@ -177,9 +177,8 @@ impl Channel {
#[inline]
pub fn is_nsfw(&self) -> bool {
match *self {
- Channel::Group(_) => false,
Channel::Guild(ref channel) => channel.read().unwrap().is_nsfw(),
- Channel::Private(_) => false,
+ Channel::Group(_) | Channel::Private(_) => false,
}
}