This commit is contained in:
wrk 2023-07-12 09:30:14 +02:00
parent ec4f44ee77
commit 9b4c0e052e
2 changed files with 3 additions and 1 deletions

2
rust-toolchain.toml Normal file
View File

@ -0,0 +1,2 @@
[toolchain]
channel="nightly"

View File

@ -93,7 +93,7 @@ impl<'a> IrcPrefix<'a> {
}
pub fn admin(&self) -> bool {
self.kind == IrcPrefixKind::Admin
self.kind == IrcPrefixKind::Admin || self.kind == IrcPrefixKind::Owner
}
}