summaryrefslogtreecommitdiff
path: root/modules/commands/hs_on.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/hs_on.cpp')
-rw-r--r--modules/commands/hs_on.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/hs_on.cpp b/modules/commands/hs_on.cpp
index d64354b50..135b96f9a 100644
--- a/modules/commands/hs_on.cpp
+++ b/modules/commands/hs_on.cpp
@@ -18,9 +18,9 @@ class CommandHSOn : public Command
public:
CommandHSOn(Module *creator) : Command(creator, "hostserv/on", 0, 0)
{
- this->SetFlag(CFLAG_REQUIRE_USER);
this->SetDesc(_("Activates your assigned vhost"));
this->SetSyntax("");
+ this->RequireUser(true);
}
void Execute(CommandSource &source, const std::vector<Anope::string> &params) anope_override