fixing invalid command

This commit is contained in:
wrk 2023-05-30 03:43:29 +02:00
parent 836c920400
commit bb0c672f8f

View File

@ -127,6 +127,9 @@ impl Irc {
}
let mut context = self.context.write().await;
if !context.systems.contains_key(&sys_name) {
return;
}
let response = context.run_system(prefix, &sys_name).await;
if response.0.is_none() {