1
0
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:
adam-
2009-08-24 22:40:49 +00:00
parent 3b7174319a
commit 56a6cea0d5
+1 -1
View File
@@ -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;
}