We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72ca577 commit c227651Copy full SHA for c227651
afd-notifications/notifier.ts
@@ -363,7 +363,7 @@ class Notifier {
363
364
if (!Mwn.util.isIPAddress(username)) { // IP blocks can't be looked up this way, TODO: handle this
365
let blockinfo = await user.info('blockinfo');
366
- if (blockinfo.blockid) { // blocked
+ if (blockinfo.blockexpiry) { // blocked
367
if (blockinfo.blockexpiry === 'infinite') {
368
log(`[C] Not notifying ${username} as account is indef-blocked`);
369
return Promise.reject('blocked-indef');
0 commit comments