summaryrefslogtreecommitdiff
path: root/modules/commands/hs_request.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/hs_request.cpp')
-rw-r--r--modules/commands/hs_request.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/commands/hs_request.cpp b/modules/commands/hs_request.cpp
index 498b51afb..616b2e772 100644
--- a/modules/commands/hs_request.cpp
+++ b/modules/commands/hs_request.cpp
@@ -96,6 +96,12 @@ class CommandHSRequest : public Command
return;
}
+ if (source.GetAccount()->HasExt("UNCONFIRMED"))
+ {
+ source.Reply(_("You must confirm your account before you may request a vhost."));
+ return;
+ }
+
Anope::string rawhostmask = params[0];
Anope::string user, host;