diff options
author | Sadie Powell <sadie@witchery.services> | 2024-11-23 20:22:59 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-11-23 20:24:08 +0000 |
commit | df7f0730dd3761bb992cef93e9baeb169bcca54b (patch) | |
tree | 4e58f2510cf02ab7bf84d7449c17550ecc3acf7b /modules | |
parent | 331168379f370e31f7278ee6e23c51f0c2c3c4a3 (diff) |
Fix the signon time of services pseudoclients on InspIRCd.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/protocol/inspircd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/protocol/inspircd.cpp b/modules/protocol/inspircd.cpp index 431a95ea6..187bbf68e 100644 --- a/modules/protocol/inspircd.cpp +++ b/modules/protocol/inspircd.cpp @@ -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); } } }; |