diff options
| author | Adam <Adam@anope.org> | 2014-03-22 07:21:22 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2014-03-22 07:21:22 -0400 |
| commit | f1bec3999d34bcac01bbc4a6920882b0b8345dc0 (patch) | |
| tree | 88c4782e41bd3caca04dbbc7877c586e4bcaf8dd /include | |
| parent | a259244297eeb8b8e30b3ee38d05fbe8875c4f7b (diff) | |
Do not allow SASL login to suspended nicks
Diffstat (limited to 'include')
| -rw-r--r-- | include/modules/sasl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/modules/sasl.h b/include/modules/sasl.h index b4c97f632..23337ebe8 100644 --- a/include/modules/sasl.h +++ b/include/modules/sasl.h @@ -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); |
