1
0
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:
NG (Graham)
2025-12-21 10:24:22 -05:00
parent ba21f77743
commit 5fd1767111
3 changed files with 11 additions and 7 deletions

View File

@@ -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 {