]> jfr.im git - irc/quakenet/snircd-patchqueue.git/commitdiff
removed hidebanowner.patch
authorwiebe <redacted>
Wed, 17 Mar 2010 12:53:51 +0000 (13:53 +0100)
committerwiebe <redacted>
Wed, 17 Mar 2010 12:53:51 +0000 (13:53 +0100)
hidebanowner.patch [deleted file]
series

diff --git a/hidebanowner.patch b/hidebanowner.patch
deleted file mode 100644 (file)
index 4588a2b..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-hide the owner of a ban in the channel banlist from non-chanops
-
-diff -r 67928388e226 ircd/channel.c
---- a/ircd/channel.c   Sun Jan 11 22:38:39 2009 +0000
-+++ b/ircd/channel.c   Sun Jan 11 22:38:40 2009 +0000
-@@ -1243,13 +1243,18 @@
- static void send_ban_list(struct Client* cptr, struct Channel* chptr)
- {
-   struct Ban* lp;
-+  int showbanowner = 0;
-   assert(0 != cptr);
-   assert(0 != chptr);
-+  /* hide who set the ban from non-chanops */
-+  if (IsAnOper(cptr) || is_chan_op(cptr, chptr))
-+    showbanowner = 1;
-+
-   for (lp = chptr->banlist; lp; lp = lp->next)
-     send_reply(cptr, RPL_BANLIST, chptr->chname, lp->banstr,
--             lp->who, lp->when);
-+             showbanowner ? lp->who : "*", lp->when);
-   send_reply(cptr, RPL_ENDOFBANLIST, chptr->chname);
- }
diff --git a/series b/series
index 2f716b4ef675541d073107aac162dbc100a6e937..bcd8b4ba68cf38dbf99e74c9bce9b61e8b170c60 100644 (file)
--- a/series
+++ b/series
@@ -9,7 +9,6 @@ chanopaccountabilityforkickdelayedjoin.patch
 addhacktypetohackkick.patch
 ischannelservice.patch
 ulined.patch
-hidebanowner.patch #+hidebanowner
 hisadmin.patch
 hisversionremote.patch
 glinesnomask.patch