mirror of
https://github.com/anope/anope.git
synced 2026-07-04 12:53:14 +02:00
Added options:nonicknameownership config option
This commit is contained in:
@@ -261,16 +261,18 @@ class InspIRCdProto : public IRCDProto
|
||||
send_cmd("", "ENDBURST");
|
||||
}
|
||||
|
||||
void SetAutoIdentificationToken(User *u)
|
||||
void SendLogin(User *u)
|
||||
{
|
||||
if (!u->Account())
|
||||
return;
|
||||
|
||||
Anope::string svidbuf = stringify(u->timestamp);
|
||||
|
||||
u->Account()->Extend("authenticationtoken", new ExtensibleString(svidbuf));
|
||||
}
|
||||
|
||||
void SendLogout(User *u)
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
class ChannelModeFlood : public ChannelModeParam
|
||||
@@ -324,7 +326,7 @@ class InspircdIRCdMessage : public IRCdMessage
|
||||
if (na && svidbuf && *svidbuf == params[0])
|
||||
{
|
||||
user->Login(na->nc);
|
||||
if (na->nc->HasFlag(NI_UNCONFIRMED))
|
||||
if (!Config->NoNicknameOwnership && na->nc->HasFlag(NI_UNCONFIRMED) == false)
|
||||
user->SetMode(findbot(Config->NickServ), UMODE_REGISTERED);
|
||||
}
|
||||
else if (nickserv)
|
||||
|
||||
Reference in New Issue
Block a user