1
0
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:
sjaz
2009-04-06 16:37:02 +00:00
parent af85de47c7
commit cd034d6935
+2
View File
@@ -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> &params)
@@ -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> &params)