diff options
| author | Gustav Sörnäs <gustav@sornas.net> | 2021-06-08 09:47:10 +0200 |
|---|---|---|
| committer | Gustav Sörnäs <gustav@sornas.net> | 2021-06-08 09:47:10 +0200 |
| commit | d3eb004bcca01c87cb12ba297e568eaf9d25cd77 (patch) | |
| tree | fb936d115a80c0842feffce26f50d20e58858c95 /mumd/src/state.rs | |
| parent | 2aafe6967e38851d56f747cb3e615da7e9fa9bf1 (diff) | |
| download | mum-d3eb004bcca01c87cb12ba297e568eaf9d25cd77.tar.gz | |
mumlib error unimplemented
Diffstat (limited to 'mumd/src/state.rs')
| -rw-r--r-- | mumd/src/state.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
