aboutsummaryrefslogtreecommitdiff
path: root/src/ext/framework/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext/framework/mod.rs')
-rw-r--r--src/ext/framework/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ext/framework/mod.rs b/src/ext/framework/mod.rs
index ccb81f1..988d3a3 100644
--- a/src/ext/framework/mod.rs
+++ b/src/ext/framework/mod.rs
@@ -360,7 +360,7 @@ impl Framework {
return;
}
- #[cfg(all(feature="cache", feature="methods"))]
+ #[cfg(feature="cache")]
{
if !self.configuration.allow_dm && message.is_private() {
if let Some(ref message) = self.configuration.no_dm_message {