Streamline can_run access control method
authorJeremy Stanley <fungi@yuggoth.org>
Wed, 30 Sep 2020 18:07:46 +0000 (18:07 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Wed, 30 Sep 2020 18:07:46 +0000 (18:07 +0000)
Minor rework of can_run() to replace the chain of elifs with simple
short-circuiting conditions each with its own return() so that it's
clearer this operates in a "first match" model.


No differences found