From d3eb004bcca01c87cb12ba297e568eaf9d25cd77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustav=20S=C3=B6rn=C3=A4s?= Date: Tue, 8 Jun 2021 09:47:10 +0200 Subject: mumlib error unimplemented --- mumd/src/state.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mumd/src/state.rs') diff --git a/mumd/src/state.rs b/mumd/src/state.rs index d0a7e4b..cdd663d 100644 --- a/mumd/src/state.rs +++ b/mumd/src/state.rs @@ -444,7 +444,7 @@ pub fn handle_command( Command::Events { block } => { if block { warn!("Blocking event list is unimplemented"); - now!(Ok(None)) + now!(Err(Error::Unimplemented)) } else { let events: Vec<_> = state .events -- cgit v1.2.1