summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-21 22:19:40 +0000
committerrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-21 22:19:40 +0000
commitc3f28223f8447ff8d49007b45141d673fef56060 (patch)
tree856ca5c4bc061d3b5ff6d3889bf17c62a9ff4b41 /src
parent8d05e8510ff9446a28c49e12179277d785c6d402 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/core/ns_recover.c1
-rw-r--r--src/core/ns_release.c1
2 files changed, 2 insertions, 0 deletions
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<std::string> &params)
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<std::string> &params)