diff options
author | mark mark@31f1291d-b8d6-0310-a050-a5561fc1590b <mark mark@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-08-16 15:43:09 +0000 |
---|---|---|
committer | mark mark@31f1291d-b8d6-0310-a050-a5561fc1590b <mark mark@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-08-16 15:43:09 +0000 |
commit | 8955e156a5585a71c232f91893bb48783bf5775d (patch) | |
tree | ad075638c771480ec85591e1476ac39d6b4e67b3 | |
parent | efc03b7be41444048aa0940a80fb9ae3b66e9e76 (diff) |
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
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | src/chanserv.c | 4 | ||||
-rw-r--r-- | version.log | 6 |
3 files changed, 10 insertions, 1 deletions
@@ -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] diff --git a/src/chanserv.c b/src/chanserv.c index 1d2b349f6..68197a230 100644 --- a/src/chanserv.c +++ b/src/chanserv.c @@ -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; diff --git a/version.log b/version.log index f070e7c5e..23492475a 100644 --- a/version.log +++ b/version.log @@ -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() |