diff options
author | sjaz <sjaz@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-04-06 16:37:02 +0000 |
---|---|---|
committer | sjaz <sjaz@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-04-06 16:37:02 +0000 |
commit | cd034d69358ec05812cbb9e7b38c674b07e654bc (patch) | |
tree | 840b80d2f2d01bf1271add69155a7e5f631db73a /src | |
parent | af85de47c70761b910c0e19c8f3de0d28b1c8063 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/core/ns_register.c | 2 |
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> ¶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<std::string> ¶ms) |