summaryrefslogtreecommitdiff
path: root/modules/commands/ns_update.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/ns_update.cpp')
-rw-r--r--modules/commands/ns_update.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/ns_update.cpp b/modules/commands/ns_update.cpp
index e6718f3e6..309a95087 100644
--- a/modules/commands/ns_update.cpp
+++ b/modules/commands/ns_update.cpp
@@ -18,9 +18,9 @@ class CommandNSUpdate : public Command
public:
CommandNSUpdate(Module *creator) : Command(creator, "nickserv/update", 0, 0)
{
- this->SetFlag(CFLAG_REQUIRE_USER);
this->SetDesc(_("Updates your current status, i.e. it checks for new memos"));
this->SetSyntax("");
+ this->RequireUser(true);
}
void Execute(CommandSource &source, const std::vector<Anope::string> &params) anope_override