1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 11:16:38 +02:00

Don't allow suspended users to login to webcpanel

This commit is contained in:
Adam
2015-09-14 12:35:26 -04:00
parent 2f5e880e57
commit 776207ba67
+6
View File
@@ -30,6 +30,12 @@ class WebpanelRequest : public IdentifyRequest
return;
}
if (na->nc->HasExt("NS_SUSPENDED"))
{
this->OnFail();
return;
}
Anope::string id;
for (int i = 0; i < 64; ++i)
{