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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user