1
0
mirror of https://github.com/anope/anope.git synced 2026-07-05 04:13:13 +02:00

BUILD : 1.7.21 (1410) BUGS : 924 NOTES : Bug fixed where forbidden channels will appear in /list when inhabited by ChanServ

git-svn-id: svn://svn.anope.org/anope/trunk@1410 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1125 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
mark mark@31f1291d-b8d6-0310-a050-a5561fc1590b
2008-08-16 15:43:09 +00:00
parent efc03b7be4
commit 8955e156a5
3 changed files with 10 additions and 1 deletions
+1
View File
@@ -46,6 +46,7 @@ Anope Version S V N
05/12 F moduleNoticeLang() now calls notice_user instead of notice(). [ #00]
08/11 F Updated os_raw.c to show up as a 3rd party module. [ #00]
08/15 F CS OP now correctly works if there is only 1 user in the channel. [#922]
08/16 F Forbidden channels no longer appear in /list when inhabited. [#924]
Provided by Robin Burchell <w00t@inspircd.org> - 2008
08/08 F Strict warnings in send.c from comparing address of non-ptr [ #00]
+4
View File
@@ -1586,6 +1586,10 @@ int check_kick(User * user, char *chan, time_t chants)
if ((!(c = findchan(chan)) || c->usercount == 0)
&& !(ci->flags & CI_INHABIT)) {
anope_cmd_join(s_ChanServ, chan, (c ? c->creation_time : chants));
/* Lets hide the channel from /list just incase someone does /list
* while we are here. - katsklaw
*/
anope_cmd_mode(s_ChanServ, chan, "+ntsi");
t = add_timeout(CSInhabit, timeout_leave, 0);
t->data = sstrdup(chan);
ci->flags |= CI_INHABIT;
+5 -1
View File
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="21"
VERSION_EXTRA="-svn"
VERSION_BUILD="1409"
VERSION_BUILD="1410"
# $Log$
#
# BUILD : 1.7.21 (1410)
# BUGS : 924
# NOTES : Bug fixed where forbidden channels will appear in /list when inhabited by ChanServ
#
# BUILD : 1.7.21 (1409)
# BUGS : 922
# NOTES : Changes 'check' argument in calls to chan_set_modes() from cs_modes.c/do_util() to 2 to avoid calling chan_set_proper_modes()