1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 14:33:14 +02:00

Use signon for svid on bahamut, not timestamp

This commit is contained in:
Adam
2012-11-28 00:42:07 -05:00
parent a1a5ba0723
commit ccd41e7efe
+2 -2
View File
@@ -295,7 +295,7 @@ class BahamutIRCdProto : public IRCDProto
void SendLogin(User *u) anope_override
{
IRCD->SendMode(NickServ, u, "+d %d", u->timestamp);
IRCD->SendMode(NickServ, u, "+d %d", u->signon);
}
void SendLogout(User *u) anope_override
@@ -388,7 +388,7 @@ struct IRCDMessageNick : IRCDMessage
if (user && NickServService)
{
const NickAlias *na;
if (user->timestamp == convertTo<time_t>(params[7]) && (na = NickAlias::Find(user->nick)))
if (user->signon == convertTo<time_t>(params[7]) && (na = NickAlias::Find(user->nick)))
{
NickCore *nc = na->nc;
user->Login(nc);