hotfix: a
This commit is contained in:
parent
8d73f281d2
commit
2ce2aa475a
|
@ -88,6 +88,10 @@ pub async fn handle_message(p: ChatPacket, client: &mut Client, config: &Config)
|
|||
components.remove(0);
|
||||
}
|
||||
|
||||
if components.len() == 0 {
|
||||
return; // hotfix: fuck you dam
|
||||
}
|
||||
|
||||
let is_for_me = components[0].starts_with(&format!("!@{}", config.server.username)) || (!components[0].starts_with("!@") && components[0].starts_with("!"));
|
||||
|
||||
if !is_for_me { return; }
|
||||
|
|
Loading…
Reference in New Issue