diff --git a/src/core/ns_recover.c b/src/core/ns_recover.c index 98e4a9512..9c1453bdf 100644 --- a/src/core/ns_recover.c +++ b/src/core/ns_recover.c @@ -22,6 +22,7 @@ class CommandNSRecover : public Command public: CommandNSRecover() : Command("RECOVER", 1, 2) { + this->SetFlag(CFLAG_ALLOW_UNREGISTERED); } CommandReturn Execute(User *u, std::vector ¶ms) diff --git a/src/core/ns_release.c b/src/core/ns_release.c index d2ce4c57e..66b0fc043 100644 --- a/src/core/ns_release.c +++ b/src/core/ns_release.c @@ -22,6 +22,7 @@ class CommandNSRelease : public Command public: CommandNSRelease() : Command("RELEASE", 1, 2) { + this->SetFlag(CFLAG_ALLOW_UNREGISTERED); } CommandReturn Execute(User *u, std::vector ¶ms)