summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-03-03 19:21:51 -0500
committerAdam <Adam@anope.org>2011-03-03 19:21:51 -0500
commit66e2dce64656e901726d06236a275b1075380583 (patch)
treeac9a1602c7fb2dacdfe7dc90e1184d02621f5ce4
parent06679e487e9c2fe754ef913a10f925f890284702 (diff)
Fixed opping our clients on ratbox when TS6 is not used.
-rw-r--r--src/protocol/ratbox.c3
-rw-r--r--version.log3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/protocol/ratbox.c b/src/protocol/ratbox.c
index 18ccbe0fe..938e05731 100644
--- a/src/protocol/ratbox.c
+++ b/src/protocol/ratbox.c
@@ -1468,7 +1468,8 @@ void ratbox_cmd_bot_chan_mode(char *nick, char *chan)
ratbox_cmd_tmode(nick, chan, "%s %s", ircd->botchanumode,
(u ? u->uid : nick));
} else {
- anope_cmd_mode(nick, chan, "%s %s", ircd->botchanumode, nick);
+ /* Ratbox does not allow *any* client to op itself - use ChanServ */
+ anope_cmd_mode(s_ChanServ, chan, "%s %s", ircd->botchanumode, nick);
}
}
diff --git a/version.log b/version.log
index add886b7f..89e781005 100644
--- a/version.log
+++ b/version.log
@@ -8,9 +8,10 @@ VERSION_MAJOR="1"
VERSION_MINOR="8"
VERSION_PATCH="5"
VERSION_EXTRA="-git"
-VERSION_BUILD="3062"
+VERSION_BUILD="3063"
# $Log$ # Changes since 1.8.5 Release
+#Revision 3063 - Fixed opping our clients on ratbox when TS6 is not used.
#Revision 3062 - Do not show SENDPASS in NickServ and ChanServ help to users who can't use it
#Revision 3061 - Rejoin our clients if kicked on TS6 IRCDs and made ratbox protocol module use account tracking
#Revision 3060 - Fixed bug 1248, an error in fr.l - reported by SaKa