diff options
author | adam- <adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-08-24 22:40:49 +0000 |
---|---|---|
committer | adam- <adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-08-24 22:40:49 +0000 |
commit | 56a6cea0d5ce1f88faea1ec94a2b533dbb4a5dfb (patch) | |
tree | babed83276c5954eaf6256b05741d9ed59c9724b /src | |
parent | 3b7174319a28a358cb158c8e9169e4bab92f1cda (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/protocol/inspircd12.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/protocol/inspircd12.cpp b/src/protocol/inspircd12.cpp index ab22aa29c..d27ef771a 100644 --- a/src/protocol/inspircd12.cpp +++ b/src/protocol/inspircd12.cpp @@ -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; } |