summaryrefslogtreecommitdiff
path: root/source/libs/utils.ts
diff options
context:
space:
mode:
Diffstat (limited to 'source/libs/utils.ts')
-rw-r--r--source/libs/utils.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libs/utils.ts b/source/libs/utils.ts
index 1eed991b..e11a8071 100644
--- a/source/libs/utils.ts
+++ b/source/libs/utils.ts
@@ -119,7 +119,7 @@ export function getOP(): string {
}
export function compareNames(username: string, realname: string): boolean {
- return username.replace(/-/g, '').toLowerCase() === realname.normalize('NFD').replace(/[\u0300-\u036f\W.]/g, '').toLowerCase();
+ return username.replace(/-/g, '').toLowerCase() === realname.normalize('NFD').replace(/[\u0300-\u036F\W.]/g, '').toLowerCase();
}
export async function poll<T>(callback: () => T, frequency: number): Promise<T> {