summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjantje_85 <jantje_85@5417fbe8-f217-4b02-8779-1006273d7864>2009-09-26 14:49:06 +0000
committerjantje_85 <jantje_85@5417fbe8-f217-4b02-8779-1006273d7864>2009-09-26 14:49:06 +0000
commitf17c36c0310072c8253fdb8164161a559ca8566c (patch)
treed71b1581e5f0699f459e0d8d1c0c17f6c78bbf76
parent39960787de1cf102e4afadfce449e20732f36187 (diff)
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
-rw-r--r--src/protocol/inspircd12.cpp21
1 files changed, 1 insertions, 20 deletions
diff --git a/src/protocol/inspircd12.cpp b/src/protocol/inspircd12.cpp
index b48d1f167..5b347cc51 100644
--- a/src/protocol/inspircd12.cpp
+++ b/src/protocol/inspircd12.cpp
@@ -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)