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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user