mirror of
https://github.com/anope/anope.git
synced 2026-07-03 19:23:14 +02:00
BUILD : 1.7.21 (1418) BUGS : 927 NOTES : Applied a patch by w00t to store the timestamp supplied by insp in FJOIN on channel creation
git-svn-id: svn://svn.anope.org/anope/trunk@1418 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1133 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
parent
0030f51a2d
commit
10e0b81d3d
@@ -53,6 +53,7 @@ Anope Version S V N
|
||||
Provided by Robin Burchell <w00t@inspircd.org> - 2008
|
||||
08/08 F Strict warnings in send.c from comparing address of non-ptr [ #00]
|
||||
08/08 F Removed sa-commands from inspircd protocol support. [ #00]
|
||||
08/24 F InspIRCd FMODE timestamp issue. [#927]
|
||||
|
||||
Provided by Christian Schroer <Christian.Schroer@coderschlampe.com> - 2008
|
||||
07/20 F Updated Deutch language file. [#892]
|
||||
|
||||
+11
-1
@@ -583,8 +583,18 @@ void do_join(const char *source, int ac, char **av)
|
||||
if (check_kick(user, s, time(NULL)))
|
||||
continue;
|
||||
|
||||
time_t ts = time(NULL);
|
||||
|
||||
if (ac == 2) {
|
||||
if (debug) {
|
||||
alog("debug: recieved a new TS for JOIN: %ld",
|
||||
(long int) ts);
|
||||
}
|
||||
ts = strtoul(av[1], NULL, 10);
|
||||
}
|
||||
|
||||
chan = findchan(s);
|
||||
chan = join_user_update(user, chan, s, time(NULL));
|
||||
chan = join_user_update(user, chan, s, ts);
|
||||
chan_set_correct_modes(user, chan, 1);
|
||||
|
||||
send_event(EVENT_JOIN_CHANNEL, 3, EVENT_STOP, source, s);
|
||||
|
||||
@@ -1297,7 +1297,7 @@ int anope_event_join(char *source, int ac, char **av)
|
||||
{
|
||||
if (ac != 2)
|
||||
return MOD_CONT;
|
||||
do_join(source, 1, av);
|
||||
do_join(source, ac, av);
|
||||
return MOD_CONT;
|
||||
}
|
||||
|
||||
|
||||
+5
-1
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
|
||||
VERSION_MINOR="7"
|
||||
VERSION_PATCH="21"
|
||||
VERSION_EXTRA="-svn"
|
||||
VERSION_BUILD="1417"
|
||||
VERSION_BUILD="1418"
|
||||
|
||||
# $Log$
|
||||
#
|
||||
# BUILD : 1.7.21 (1418)
|
||||
# BUGS : 927
|
||||
# NOTES : Applied a patch by w00t to store the timestamp supplied by insp in FJOIN on channel creation
|
||||
#
|
||||
# BUILD : 1.7.21 (1417)
|
||||
# BUGS :
|
||||
# NOTES : Set SO_REUSEADDR on sock to prevent potential issues with bind() failing after a restart
|
||||
|
||||
Reference in New Issue
Block a user