diff options
| author | Eskil Queseth <eskilq@kth.se> | 2020-11-05 02:35:15 +0100 |
|---|---|---|
| committer | Eskil Queseth <eskilq@kth.se> | 2020-11-05 02:35:15 +0100 |
| commit | 0220f0372937ed179aa84fa6e2250933cd3e3896 (patch) | |
| tree | 8f3e8fa198747aa260128951eccd54994ca1fdb5 /mumd/src/state.rs | |
| parent | 6b31f9e636059627a537e0dfb8ccb721296763f3 (diff) | |
| download | mum-0220f0372937ed179aa84fa6e2250933cd3e3896.tar.gz | |
remove redundancy in mumlib
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 37ff612..a767d30 100644 --- a/mumd/src/state.rs +++ b/mumd/src/state.rs @@ -303,7 +303,7 @@ impl State { let (id, user) = match id { Some(id) => (*id.0, id.1), - None => return now!(Err(Error::InvalidUserIdentifierError(string))), + None => return now!(Err(Error::InvalidUsernameError(string))), }; let action = match toggle { |
