diff --git a/src/events.rs b/src/events.rs index 512c175..73eb88e 100644 --- a/src/events.rs +++ b/src/events.rs @@ -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() {