summaryrefslogtreecommitdiff
path: root/modules/webcpanel
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2015-10-27 18:57:37 -0400
committerAdam <Adam@anope.org>2015-10-27 18:58:48 -0400
commit64dac60071fab652745a6e7a06cf6b7bdbbd3625 (patch)
treef8f30161150451672b381f6370a8fdcab654bbb8 /modules/webcpanel
parent162fdbe5815bbdf187f549fefac94ff476d72e62 (diff)
parent830361e97d03c74e54cb1cf1bbf329dffdeb66f7 (diff)
Merge branch '2.0' into 2.1
Diffstat (limited to 'modules/webcpanel')
-rw-r--r--modules/webcpanel/pages/index.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/webcpanel/pages/index.cpp b/modules/webcpanel/pages/index.cpp
index e3a8de96c..551b73a0e 100644
--- a/modules/webcpanel/pages/index.cpp
+++ b/modules/webcpanel/pages/index.cpp
@@ -31,6 +31,12 @@ class WebpanelRequest : public NickServ::IdentifyRequestListener
return;
}
+ if (na->GetAccount()->HasFieldS("NS_SUSPENDED"))
+ {
+ this->OnFail(req);
+ return;
+ }
+
Anope::string id;
for (int i = 0; i < 64; ++i)
{