diff options
-rw-r--r-- | src/protocol/inspircd12.c | 10 | ||||
-rw-r--r-- | version.log | 3 |
2 files changed, 9 insertions, 4 deletions
diff --git a/src/protocol/inspircd12.c b/src/protocol/inspircd12.c index 9a887b2d2..a116cd401 100644 --- a/src/protocol/inspircd12.c +++ b/src/protocol/inspircd12.c @@ -682,10 +682,14 @@ int anope_event_version(char *source, int ac, char **av) int anope_event_idle(char *source, int ac, char **av) { - Uid *ud = NULL; + Uid *ud; + BotInfo *bi; if (ac == 1) { - if (av[0]) ud = find_uid(av[0]); - send_cmd(ud ? ud->uid : source, "IDLE %s %ld 0", source, (long int) time(NULL)); + ud = find_nickuid(av[0]); + if (ud) { + bi = findbot(ud->nick); + send_cmd(ud->uid, "IDLE %s %ld %ld", source, start_time, bi ? time(NULL) - bi->lastmsg : 0); + } } return MOD_CONT; } diff --git a/version.log b/version.log index 6428abc03..06277b741 100644 --- a/version.log +++ b/version.log @@ -9,9 +9,10 @@ VERSION_MAJOR="1" VERSION_MINOR="8" VERSION_PATCH="2" VERSION_EXTRA="-svn" -VERSION_BUILD="2537" +VERSION_BUILD="2542" # $Log$ # Changes since 1.8.2 Release +#Revision 2542 - Fixed remote whoises on services clients on InspIRCd 1.2 #Revision 2537 - Added InspIRCd 1.2 protocol module into Windows makefiles and installer scripts #Revision 2536 - Added InspIRCd 1.2 protocol module. #Revision 2535 - Added option for delayed pseudo-client introduction. (Required for Insp 1.2) |