From 6842ad36f7367412859232ad226071ae860d3d87 Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 3 Aug 2014 18:05:41 -0400 Subject: Do not allow unconfirmed users to send memos or request vhosts --- modules/commands/hs_request.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'modules/commands/hs_request.cpp') 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; -- cgit