Skip to content

Commit

Permalink
make lowercase work
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiiyya committed Apr 9, 2021
1 parent f7f7dff commit d7751f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/mapvote.rs
Original file line number Diff line number Diff line change
Expand Up @@ -763,8 +763,9 @@ impl Mapvote {
bf4: Arc<Bf4Client>,
vis: Visibility,
player: Player,
msg: AsciiString,
mut msg: AsciiString,
) -> RconResult<()> {
msg.make_ascii_lowercase();
let split = msg.as_str().split(' ').collect::<Vec<_>>();
match split[0] {
"/v" | "!v" => {
Expand Down

0 comments on commit d7751f6

Please sign in to comment.