summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/ns_register.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/ns_register.c b/src/core/ns_register.c
index 8f011fc3f..c5a6e5120 100644
--- a/src/core/ns_register.c
+++ b/src/core/ns_register.c
@@ -184,6 +184,7 @@ class CommandNSConfirm : public Command
public:
CommandNSConfirm(const std::string &cmdn, int min, int max) : Command(cmdn, min, max)
{
+ this->SetFlag(CFLAG_ALLOW_UNREGISTERED);
}
CommandReturn Execute(User *u, std::vector<std::string> &params)
@@ -372,6 +373,7 @@ class CommandNSResend : public Command
public:
CommandNSResend() : Command("RESEND", 0, 0)
{
+ this->SetFlag(CFLAG_ALLOW_UNREGISTERED);
}
CommandReturn Execute(User *u, std::vector<std::string> &params)