mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-23 01:13:48 +01:00
This commit is contained in:
parent
dfac7b578b
commit
ccea661b4f
@ -15,7 +15,7 @@ export default async (username: string, _host: string, option?: any): Promise<IU
|
||||
const host = toUnicode(hostAscii);
|
||||
|
||||
if (config.host == host) {
|
||||
return await User.findOne({ usernameLower });
|
||||
return await User.findOne({ usernameLower, host: null });
|
||||
}
|
||||
|
||||
let user = await User.findOne({ usernameLower, host }, option);
|
||||
|
Loading…
Reference in New Issue
Block a user