summary refs log tree commit diff
path: root/src/util
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2023-02-02 22:15:03 +1100
committerGitHub <noreply@github.com>2023-02-02 22:15:03 +1100
commitaf6b5a6594856794573ff700c5ea388e4cc4500d (patch)
tree65a007c2a28abdbca6ea35e1f048158af98125da /src/util
parentUse erlpack instead of @yukikaze-bot/erlpack (#968) (diff)
downloadserver-af6b5a6594856794573ff700c5ea388e4cc4500d.tar.xz
Merge pull request from GHSA-r7h4-76f7-6264
* Actually use maxUsername config value.

* Change maxUsername default to discord.com default
Diffstat (limited to 'src/util')
-rw-r--r--src/util/config/types/subconfigurations/limits/UserLimits.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/config/types/subconfigurations/limits/UserLimits.ts b/src/util/config/types/subconfigurations/limits/UserLimits.ts
index 06f7a059..836f7143 100644
--- a/src/util/config/types/subconfigurations/limits/UserLimits.ts
+++ b/src/util/config/types/subconfigurations/limits/UserLimits.ts
@@ -18,6 +18,6 @@
 
 export class UserLimits {
 	maxGuilds: number = 1048576;
-	maxUsername: number = 127;
+	maxUsername: number = 32;
 	maxFriends: number = 5000;
 }