summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes3
-rw-r--r--src/core/cs_modes.c4
-rw-r--r--version.log6
3 files changed, 9 insertions, 4 deletions
diff --git a/Changes b/Changes
index 990b1188d..d5b156da6 100644
--- a/Changes
+++ b/Changes
@@ -44,7 +44,8 @@ Anope Version S V N
04/30 F Operators can now also use NickServ INFO ALL. [ #00]
05/12 F anope_cmd_notice_ops for unreal now includes source. [ #00]
05/12 F moduleNoticeLang() now calls notice_user instead of notice(). [ #00]
-11/08 F Updated os_raw.c to show up as a 3rd party module. [ #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]
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/core/cs_modes.c b/src/core/cs_modes.c
index dc3f12ae9..824764941 100644
--- a/src/core/cs_modes.c
+++ b/src/core/cs_modes.c
@@ -342,7 +342,7 @@ int do_util(User * u, CSModeUtil * util)
&& check_access(u, ci, util->levelself)) {
anope_cmd_mode(whosends(ci), uc->chan->name, "%s %s",
util->mode, u->nick);
- chan_set_modes(s_ChanServ, uc->chan, 2, av, 1);
+ chan_set_modes(s_ChanServ, uc->chan, 2, av, 2);
if (util->notice && ci->flags & util->notice)
notice(whosends(ci), uc->chan->name,
@@ -382,7 +382,7 @@ int do_util(User * u, CSModeUtil * util)
av[0] = util->mode;
av[1] = u2->nick;
- chan_set_modes(s_ChanServ, c, 2, av, 1);
+ chan_set_modes(s_ChanServ, c, 2, av, 2);
if (util->notice && ci->flags & util->notice)
notice(whosends(ci), c->name, "%s command used for %s by %s",
diff --git a/version.log b/version.log
index e1e36b3af..f070e7c5e 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="1404"
+VERSION_BUILD="1409"
# $Log$
#
+# 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()
+#
# BUILD : 1.7.21 (1404)
# BUGS : 917
# NOTES : make install now runs install routine for modules subdirs also. Thanks Viper