use single global function for server name local and user local checking

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-04-28 11:35:25 -04:00 committed by June
commit 9931e60050
14 changed files with 77 additions and 41 deletions
src/utils

View file

@ -1,6 +1,8 @@
pub(crate) mod clap;
pub(crate) mod debug;
pub(crate) mod error;
pub(crate) mod server_name;
pub(crate) mod user_id;
use std::{
cmp,