mirror of
https://github.com/anope/anope.git
synced 2026-06-27 05:06:38 +02:00
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
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user