1
0
mirror of https://github.com/anope/anope.git synced 2026-07-04 05:53:12 +02:00

Use signon for svid on unreal, not timestamp

This commit is contained in:
Adam
2012-11-27 21:43:17 -05:00
parent 8a6962fc36
commit a1a5ba0723
+2 -2
View File
@@ -345,7 +345,7 @@ class UnrealIRCdProto : public IRCDProto
if (Servers::Capab.count("ESVID") > 0)
IRCD->SendMode(NickServ, u, "+d %s", u->Account()->display.c_str());
else
IRCD->SendMode(NickServ, u, "+d %d", u->timestamp);
IRCD->SendMode(NickServ, u, "+d %d", u->signon);
}
void SendLogout(User *u) anope_override
@@ -809,7 +809,7 @@ struct IRCDMessageNick : IRCDMessage
;
else if (params[6].is_pos_number_only())
{
if (convertTo<time_t>(params[6]) == user->timestamp)
if (convertTo<time_t>(params[6]) == user->signon)
na = NickAlias::Find(user->nick);
}
else