summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/misc/acct/parse.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/misc/acct/parse.ts b/src/misc/acct/parse.ts
index 164bd7bcd7..b120746650 100644
--- a/src/misc/acct/parse.ts
+++ b/src/misc/acct/parse.ts
@@ -1,5 +1,5 @@
export default (acct: string) => {
if (acct.startsWith('@')) acct = acct.substr(1);
- const splitted = acct.split('@', 2);
- return { username: splitted[0], host: splitted[1] || null };
+ const split = acct.split('@', 2);
+ return { username: split[0], host: split[1] || null };
};