1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 12:36:38 +02:00

Fixed remote whoises on services clients on InspIRCd 1.2

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/stable@2542 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
Adam-
2009-10-09 22:33:00 +00:00
parent 594c161622
commit f07f92e30d
2 changed files with 9 additions and 4 deletions
+7 -3
View File
@@ -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;
}
+2 -1
View File
@@ -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)