diff options
author | Adam <Adam@anope.org> | 2014-08-03 18:05:41 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2014-08-03 18:05:41 -0400 |
commit | 6842ad36f7367412859232ad226071ae860d3d87 (patch) | |
tree | b3c3597bcc63371508b381433f280f856e637c53 /modules/commands/hs_request.cpp | |
parent | 24f17de4aaf736264ecdb6a20d51589d20818ad9 (diff) |
Do not allow unconfirmed users to send memos or request vhosts
Diffstat (limited to 'modules/commands/hs_request.cpp')
-rw-r--r-- | modules/commands/hs_request.cpp | 6 |
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; |