chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9242e2c
)
cmdlistener: Make a variable for auth_y
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 14 Mar 2021 23:15:36 +0000
(23:15 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 14 Mar 2021 23:16:36 +0000
(23:16 +0000)
nfc
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
daemon/cmdlistener.rs
patch
|
blob
|
history
diff --git
a/daemon/cmdlistener.rs
b/daemon/cmdlistener.rs
index ad8f06eb84050dac8a70a00760aeb361dcdae138..ed7aba55dce282aacd43c228344d113ffa88b81b 100644
(file)
--- a/
daemon/cmdlistener.rs
+++ b/
daemon/cmdlistener.rs
@@
-784,7
+784,8
@@
fn execute_for_game<'cs, 'igr, 'ig: 'igr>(
uh.accumulate(ig, updates)?;
responses.push(resp);
match for_prepub { None => (), Some(x) => match x { }};
- auth = Some(Authorisation::authorised(&*ig.name));
+ let auth_y = Authorisation::authorised(&*ig.name);
+ auth = Some(auth_y);
}
if let Some(auth) = auth { uh.complete(igu.by_mut(auth), &who)?; }
Ok(None)