diff options
| author | Lakelezz <[email protected]> | 2018-03-15 23:03:56 +0100 |
|---|---|---|
| committer | alex <[email protected]> | 2018-03-15 23:03:56 +0100 |
| commit | 02dc5064d9402f73ef514c9b8ffa318f5d4235ff (patch) | |
| tree | 696b9746abfb532d689ccaadfecea2aefe53d7c9 /src/framework/standard/create_group.rs | |
| parent | Add a basic CONTRIBUTING.md (diff) | |
| download | serenity-02dc5064d9402f73ef514c9b8ffa318f5d4235ff.tar.xz serenity-02dc5064d9402f73ef514c9b8ffa318f5d4235ff.zip | |
Fix no-cache standardframework compilation (#290)
Diffstat (limited to 'src/framework/standard/create_group.rs')
| -rw-r--r-- | src/framework/standard/create_group.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/framework/standard/create_group.rs b/src/framework/standard/create_group.rs index df3d97f..c33f67a 100644 --- a/src/framework/standard/create_group.rs +++ b/src/framework/standard/create_group.rs @@ -148,6 +148,7 @@ impl CreateGroup { } /// Sets roles that are allowed to use the command. + #[cfg(feature = "cache")] pub fn allowed_roles<T: ToString, It: IntoIterator<Item=T>>(mut self, allowed_roles: It) -> Self { self.0.allowed_roles = allowed_roles.into_iter().map(|x| x.to_string()).collect(); |