Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
forgot to change from ! to ? correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
alessiodam committed Jun 25, 2024
1 parent 43be562 commit 133f97f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/conn_handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ pub async fn handle_connection(
}

if let Some((recipient, command_message)) = message.split_once(':') {
if command_message.starts_with('!') {
if command_message.starts_with('?') {
let command_name = command_message.split_whitespace().next().unwrap();
let args: Vec<&str> = command_message.split_whitespace().skip(1).collect();
if let Some(command) = commands.get(command_name) {
Expand Down

0 comments on commit 133f97f

Please sign in to comment.