fixing invalid command
This commit is contained in:
parent
836c920400
commit
bb0c672f8f
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user