]> jfr.im git - irc/quakenet/snircd-patchqueue.git/commitdiff
removed sethostoldcode - covered in sethost patch
authorwiebe <redacted>
Sat, 24 Apr 2010 13:16:46 +0000 (15:16 +0200)
committerwiebe <redacted>
Sat, 24 Apr 2010 13:16:46 +0000 (15:16 +0200)
series
sethostoldcode.patch [deleted file]

diff --git a/series b/series
index 35543947e6773973b23d34f1bfd7289c8e4aab33..d11968f32cebd5cc185a50063c05cf109ca9d77d 100644 (file)
--- 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 (file)
index 6c18212..0000000
+++ /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