aboutsummaryrefslogtreecommitdiffstats
path: root/mumd
diff options
context:
space:
mode:
authorEskil Queseth <eskilq@kth.se>2020-11-05 02:35:15 +0100
committerEskil Queseth <eskilq@kth.se>2020-11-05 02:35:15 +0100
commit0220f0372937ed179aa84fa6e2250933cd3e3896 (patch)
tree8f3e8fa198747aa260128951eccd54994ca1fdb5 /mumd
parent6b31f9e636059627a537e0dfb8ccb721296763f3 (diff)
downloadmum-0220f0372937ed179aa84fa6e2250933cd3e3896.tar.gz
remove redundancy in mumlib
Diffstat (limited to 'mumd')
-rw-r--r--mumd/src/state.rs2
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 {