mirror of
https://git.ngram.ca/OpenJam/rc-servers
synced 2026-08-23 23:08:52 +00:00
Make room names capitalization agnostic
This commit is contained in:
@@ -40,7 +40,7 @@ impl ChatSystemConfig {
|
||||
}
|
||||
|
||||
pub fn is_command_channel(&self, channel: &str) -> bool {
|
||||
self.command_channel == channel
|
||||
self.command_channel.to_lowercase() == channel.to_lowercase()
|
||||
}
|
||||
|
||||
pub fn is_command_user(&self, username: &str) -> bool {
|
||||
|
||||
Reference in New Issue
Block a user