mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-27 06:41:18 +00:00
remove debug statements
This commit is contained in:
parent
f9a5375393
commit
faf7623574
1 changed files with 0 additions and 4 deletions
|
@ -119,10 +119,6 @@ pub fn is_valid_actor_name(name: &str) -> bool {
|
|||
let max_length = Settings::get()
|
||||
.actor_name_max_length
|
||||
.unwrap_or_else(|| Settings::default().actor_name_max_length.unwrap());
|
||||
dbg!(&max_length);
|
||||
dbg!(&name);
|
||||
dbg!(name.chars().count() <= max_length);
|
||||
dbg!(VALID_ACTOR_NAME_REGEX.is_match(name));
|
||||
name.chars().count() <= max_length && VALID_ACTOR_NAME_REGEX.is_match(name)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue