1 removed some old code in set_hostmask in s_user.c
3 diff -r ad23b9b1c0b6 ircd/s_user.c
4 --- a/ircd/s_user.c Tue Mar 23 22:12:51 2010 +0100
5 +++ b/ircd/s_user.c Tue Mar 23 22:15:10 2010 +0100
7 send_reply(cptr, RPL_HOSTHIDDEN, hiddenhost);
11 - /* Code copied from hide_hostmask(). This is the old (pre-delayedjoin)
12 - * version. Switch this in if you're not using the delayed join patch. */
14 - * Go through all channels the client was on, rejoin him
15 - * and set the modes, if any
17 - for (chan = cli_user(cptr)->channel; chan; chan = chan->next_channel) {
20 - sendcmdto_channel_butserv_butone(cptr, CMD_JOIN, chan->channel, cptr,
21 - "%H", chan->channel);
22 - if (IsChanOp(chan) && HasVoice(chan)) {
23 - sendcmdto_channel_butserv_butone(&me, CMD_MODE, chan->channel, cptr,
24 - "%H +ov %C %C", chan->channel, cptr, cptr);
25 - } else if (IsChanOp(chan) || HasVoice(chan)) {
26 - sendcmdto_channel_butserv_butone(&me, CMD_MODE, chan->channel, cptr,
27 - "%H +%c %C", chan->channel, IsChanOp(chan) ? 'o' : 'v', cptr);
33 * Go through all channels the client was on, rejoin him
34 * and set the modes, if any