From 89ac15b4de53770df661ef494b2c56220ff69b1a Mon Sep 17 00:00:00 2001 From: "Acid Chicken (硫酸鶏)" Date: Tue, 25 Dec 2018 16:49:35 +0900 Subject: Fix typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit split は不規則動詞 --- src/misc/acct/parse.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/misc') 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 }; }; -- cgit v1.2.3-freya