From: wiebe Date: Sat, 24 Apr 2010 13:16:46 +0000 (+0200) Subject: removed sethostoldcode - covered in sethost patch X-Git-Url: https://jfr.im/git/irc/quakenet/snircd-patchqueue.git/commitdiff_plain/57b69185b03112ceb4cce93eacc665226117f6a5 removed sethostoldcode - covered in sethost patch --- diff --git a/series b/series index 3554394..d11968f 100644 --- a/series +++ b/series @@ -1,6 +1,5 @@ sethost.patch realusernamesethost.patch -sethostoldcode.patch sethostprotocolviolation.patch cprivmsgerracconly.patch badchanzombie.patch diff --git a/sethostoldcode.patch b/sethostoldcode.patch deleted file mode 100644 index 6c18212..0000000 --- a/sethostoldcode.patch +++ /dev/null @@ -1,34 +0,0 @@ -removed some old code in set_hostmask in s_user.c - -diff -r ad23b9b1c0b6 ircd/s_user.c ---- a/ircd/s_user.c Tue Mar 23 22:12:51 2010 +0100 -+++ b/ircd/s_user.c Tue Mar 23 22:15:10 2010 +0100 -@@ -1146,28 +1146,6 @@ - send_reply(cptr, RPL_HOSTHIDDEN, hiddenhost); - } - --#if 0 -- /* Code copied from hide_hostmask(). This is the old (pre-delayedjoin) -- * version. Switch this in if you're not using the delayed join patch. */ -- /* -- * Go through all channels the client was on, rejoin him -- * and set the modes, if any -- */ -- for (chan = cli_user(cptr)->channel; chan; chan = chan->next_channel) { -- if (IsZombie(chan)) -- continue; -- sendcmdto_channel_butserv_butone(cptr, CMD_JOIN, chan->channel, cptr, -- "%H", chan->channel); -- if (IsChanOp(chan) && HasVoice(chan)) { -- sendcmdto_channel_butserv_butone(&me, CMD_MODE, chan->channel, cptr, -- "%H +ov %C %C", chan->channel, cptr, cptr); -- } else if (IsChanOp(chan) || HasVoice(chan)) { -- sendcmdto_channel_butserv_butone(&me, CMD_MODE, chan->channel, cptr, -- "%H +%c %C", chan->channel, IsChanOp(chan) ? 'o' : 'v', cptr); -- } -- } --#endif -- - /* - * Go through all channels the client was on, rejoin him - * and set the modes, if any