mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
Fix import validation issue (#156)
This commit is contained in:
parent
a95d12639d
commit
e455bd6d12
1 changed files with 1 additions and 1 deletions
|
|
@ -269,7 +269,7 @@ namespace PluralKit.Core
|
|||
!DisplayName.IsLongerThan(Limits.MaxMemberNameLength) &&
|
||||
!Description.IsLongerThan(Limits.MaxDescriptionLength) &&
|
||||
!Pronouns.IsLongerThan(Limits.MaxPronounsLength) &&
|
||||
(Color == null || Regex.IsMatch(Color, "[0-9a-f]{6}")) &&
|
||||
(Color == null || Regex.IsMatch(Color, "[0-9a-fA-F]{6}")) &&
|
||||
(Birthday == null || DateTimeFormats.DateExportFormat.Parse(Birthday).Success) &&
|
||||
|
||||
// Sanity checks
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue