1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 10:36:38 +02:00

Removed nickrequests, instead have unconfirmed registrations. Also made ns_resetpass allow remote-id to get past things such as kill immed.

This commit is contained in:
Adam
2011-03-05 17:23:22 -05:00
parent 90e5d0feaa
commit 6fe2d8af97
41 changed files with 374 additions and 627 deletions
-19
View File
@@ -1,25 +1,6 @@
#include "services.h"
#include "modules.h"
NickRequest::NickRequest(const Anope::string &nickname)
{
if (nickname.empty())
throw CoreException("Empty nick passed to NickRequest constructor");
this->requested = this->lastmail = 0;
this->nick = nickname;
NickRequestList[this->nick] = this;
}
NickRequest::~NickRequest()
{
FOREACH_MOD(I_OnDelNickRequest, OnDelNickRequest(this));
NickRequestList.erase(this->nick);
}
/** Default constructor
* @param nick The nick
* @param nickcore The nickcofe for this nick