mirror of
https://github.com/anope/anope.git
synced 2026-07-02 22:03:13 +02:00
We no longer use authentication tokens with InspIRCd 1.2.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2517 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -751,14 +751,6 @@ class InspIRCdProto : public IRCDProto
|
||||
if (!u->nc)
|
||||
return;
|
||||
|
||||
if (u->nc->GetExt("authenticationtoken", c))
|
||||
{
|
||||
delete [] c;
|
||||
u->nc->Shrink("authenticationtoken");
|
||||
}
|
||||
|
||||
u->nc->Extend("authenticationtoken", sstrdup(u->nc->display));
|
||||
|
||||
common_svsmode(u, "+r", NULL);
|
||||
}
|
||||
|
||||
@@ -1430,8 +1422,8 @@ int anope_event_endburst(const char *source, int ac, const char **av)
|
||||
if (u) na = findnick(u->nick);
|
||||
if (u && u->server->sync == SSYNC_IN_PROGRESS && (!na || na->nc != u->nc))
|
||||
{
|
||||
common_svsmode(u, "-r", NULL);
|
||||
validate_user(u);
|
||||
common_svsmode(u, "-r", NULL);
|
||||
}
|
||||
|
||||
alog("Processed ENDBURST for %s", s->name);
|
||||
@@ -1524,17 +1516,6 @@ class ProtoInspIRCd : public Module
|
||||
{
|
||||
delete [] TS6SID;
|
||||
}
|
||||
|
||||
void OnDelCore(NickCore *nc)
|
||||
{
|
||||
char *c;
|
||||
|
||||
if (nc->GetExt("authenticationtoken", c))
|
||||
{
|
||||
delete [] c;
|
||||
nc->Shrink("authenticationtoken");
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
MODULE_INIT(ProtoInspIRCd)
|
||||
|
||||
Reference in New Issue
Block a user