aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/model/channel/channel_category.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/model/channel/channel_category.rs b/src/model/channel/channel_category.rs
index 9a56234..554a656 100644
--- a/src/model/channel/channel_category.rs
+++ b/src/model/channel/channel_category.rs
@@ -33,6 +33,7 @@ pub struct ChannelCategory {
pub permission_overwrites: Vec<PermissionOverwrite>,
}
+#[cfg(feature = "model")]
impl ChannelCategory {
/// Adds a permission overwrite to the category's channels.
#[inline]