Skip to content

Commit

Permalink
Revert the OR back to the AND
Browse files Browse the repository at this point in the history
I'm an idiot.
  • Loading branch information
arqunis committed Jun 17, 2018
1 parent f0f06b7 commit 93f453b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/framework/standard/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ impl StandardFramework {
to_check: &str,
built: &str)
-> Option<DispatchError> {
if self.configuration.ignore_bots || message.author.bot {
if self.configuration.ignore_bots && message.author.bot {
Some(DispatchError::IgnoredBot)
} else if self.configuration.ignore_webhooks && message.webhook_id.is_some() {
Some(DispatchError::WebhookAuthor)
Expand Down

0 comments on commit 93f453b

Please sign in to comment.