]> jfr.im git - irc/quakenet/snircd-patchqueue.git/commitdiff
removed privlocalchan.patch - can deal with this in the quakenet.conf
authorwiebe <redacted>
Wed, 17 Mar 2010 12:49:09 +0000 (13:49 +0100)
committerwiebe <redacted>
Wed, 17 Mar 2010 12:49:09 +0000 (13:49 +0100)
privlocalchan.patch [deleted file]
series

diff --git a/privlocalchan.patch b/privlocalchan.patch
deleted file mode 100644 (file)
index cff5cc8..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-Do not list privileges in /PRIVS related to local channels when local channels are disabled
-by feature LOCAL_CHANNELS.
-
-diff -r 081319e0fbcc ircd/client.c
---- a/ircd/client.c    Thu Jan 22 16:29:29 2009 +0100
-+++ b/ircd/client.c    Thu Jan 22 17:39:47 2009 +0100
-@@ -264,9 +264,17 @@
-   mb = msgq_make(to, rpl_str(RPL_PRIVS), cli_name(&me), cli_name(to),
-                cli_name(client));
--  for (i = 0; privtab[i].name; i++)
-+  for (i = 0; privtab[i].name; i++) {
-+    /* dont report privs related to local channels when local channels are not enabled */
-+    /* TODO: this works.. but does not seem clean, there must be a better way.. */
-+    if ((!feature_bool(FEAT_LOCAL_CHANNELS)) &&
-+      (privtab[i].priv == PRIV_WALK_LCHAN || privtab[i].priv == PRIV_MODE_LCHAN ||
-+       privtab[i].priv == PRIV_DEOP_LCHAN || privtab[i].priv == PRIV_LOCAL_OPMODE ||
-+       privtab[i].priv == PRIV_FORCE_LOCAL_OPMODE))
-+      continue;
-     if (HasPriv(client, privtab[i].priv))
-       msgq_append(0, mb, "%s%s", found1++ ? " " : "", privtab[i].name);
-+   }
-   send_buffer(to, mb, 0); /* send response */
-   msgq_clean(mb);
diff --git a/series b/series
index 3bbfe75a578961b3c9d1e54f3e6acdd76bb36f63..6e157a3641cd2038fcadb90b994180500119ccff 100644 (file)
--- a/series
+++ b/series
@@ -24,7 +24,6 @@ opername.patch
 cmdhelp.patch
 noticepluschan.patch
 whomatch.patch
-privlocalchan.patch
 burstwhotopic.patch
 opernowildbadchan.patch
 operglinenick.patch