mirror of
https://github.com/anope/anope.git
synced 2026-06-30 00:36:37 +02:00
Fixed idle time and signon time when whoising services clients on inspircd1.2
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2470 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -422,7 +422,7 @@ int anope_event_idle(const char *source, int ac, const char **av)
|
||||
if (!bi)
|
||||
return MOD_CONT;
|
||||
|
||||
send_cmd(bi->uid, "IDLE %s %ld 0", source, static_cast<long>(time(NULL)));
|
||||
send_cmd(bi->uid, "IDLE %s %ld %ld", source, start_time, time(NULL) - bi->lastmsg);
|
||||
return MOD_CONT;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user