summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2014-03-22 07:21:22 -0400
committerAdam <Adam@anope.org>2014-03-22 07:21:22 -0400
commitf1bec3999d34bcac01bbc4a6920882b0b8345dc0 (patch)
tree88c4782e41bd3caca04dbbc7877c586e4bcaf8dd
parenta259244297eeb8b8e30b3ee38d05fbe8875c4f7b (diff)
Do not allow SASL login to suspended nicks
-rw-r--r--include/modules/sasl.h2
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);