1
0
mirror of https://github.com/anope/anope.git synced 2026-06-12 19:14:47 +02:00

Fix the signon time of services pseudoclients on InspIRCd.

This commit is contained in:
Sadie Powell
2024-11-23 20:22:59 +00:00
parent 331168379f
commit df7f0730dd
+2 -2
View File
@@ -2134,12 +2134,12 @@ struct IRCDMessageIdle final
{
BotInfo *bi = BotInfo::Find(params[0]);
if (bi)
Uplink::Send(bi, "IDLE", source.GetSource(), Anope::StartTime, Anope::CurTime - bi->lastmsg);
Uplink::Send(bi, "IDLE", source.GetSource(), bi->signon, Anope::CurTime - bi->lastmsg);
else
{
User *u = User::Find(params[0]);
if (u && u->server == Me)
Uplink::Send(u, "IDLE", source.GetSource(), Anope::StartTime, 0);
Uplink::Send(u, "IDLE", source.GetSource(), u->signon, 0);
}
}
};