From cd034d69358ec05812cbb9e7b38c674b07e654bc Mon Sep 17 00:00:00 2001 From: sjaz Date: Mon, 6 Apr 2009 16:37:02 +0000 Subject: [PATCH] Patch to allow NS CONFIRM and NS RESEND to be used by non identified users. (Thanks Adam) git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2264 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/ns_register.c | 2 ++ 1 file changed, 2 insertions(+) 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 ¶ms) @@ -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 ¶ms)