From c3f28223f8447ff8d49007b45141d673fef56060 Mon Sep 17 00:00:00 2001 From: rburchell Date: Sat, 21 Feb 2009 22:19:40 +0000 Subject: [PATCH] Also allow RECOVER/RELEASE, reported by Adam and Raff7. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2123 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/ns_recover.c | 1 + src/core/ns_release.c | 1 + 2 files changed, 2 insertions(+) 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)