This commit is contained in:
Jack 2021-08-24 02:10:08 +01:00
parent df7e03b0df
commit e7aa32cec1

View file

@ -122,7 +122,7 @@ class UserController {
} catch (e) {
requser = null;
}
if (user?.banned === true) {
if (requser?.banned === true) {
throw new MonkeyError(403, "Banned accounts cannot link with Discord");
}