bugfix
This commit is contained in:
parent
ec4f44ee77
commit
9b4c0e052e
2
rust-toolchain.toml
Normal file
2
rust-toolchain.toml
Normal file
@ -0,0 +1,2 @@
|
||||
[toolchain]
|
||||
channel="nightly"
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user