diff options
author | Adam <Adam@anope.org> | 2011-03-03 19:21:51 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-03-03 19:21:51 -0500 |
commit | 66e2dce64656e901726d06236a275b1075380583 (patch) | |
tree | ac9a1602c7fb2dacdfe7dc90e1184d02621f5ce4 /src | |
parent | 06679e487e9c2fe754ef913a10f925f890284702 (diff) |
Fixed opping our clients on ratbox when TS6 is not used.
Diffstat (limited to 'src')
-rw-r--r-- | src/protocol/ratbox.c | 3 |
1 files changed, 2 insertions, 1 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); } } |