de-global server_is_ours / user_is_local

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-07-22 07:43:51 +00:00
parent 010e4ee35a
commit 59efabbbc2
34 changed files with 179 additions and 169 deletions

View file

@ -109,4 +109,7 @@ impl Server {
#[inline]
pub fn running(&self) -> bool { !self.stopping.load(Ordering::Acquire) }
#[inline]
pub fn is_ours(&self, name: &str) -> bool { name == self.config.server_name }
}