mirror of
https://github.com/anope/anope.git
synced 2026-07-03 02:13:12 +02:00
Do not allow SASL login to suspended nicks
This commit is contained in:
@@ -86,7 +86,7 @@ namespace SASL
|
||||
return;
|
||||
|
||||
NickAlias *na = NickAlias::Find(GetAccount());
|
||||
if (!na)
|
||||
if (!na || na->nc->HasExt("NS_SUSPENDED"))
|
||||
return OnFail();
|
||||
|
||||
Session *s = sasl->GetSession(uid);
|
||||
|
||||
Reference in New Issue
Block a user