This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Undernet IRC Server Source Code.".

The branch, u2_10_12_branch has been updated
       via  b9c579031c1df986f906608543fed0a276f382a1 (commit)
       via  6ad5f816840c87febf6036d3444078ab4e6c3576 (commit)
      from  bc32e416446e58f4e78887ed2077d9cd4b6ba9a1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit b9c579031c1df986f906608543fed0a276f382a1
Author: Michael Poole <[email protected]>
Date:   Sun Mar 12 19:57:49 2023 -0400

    Copy max sendQ for remotely opered clients

diff --git a/ircd/client.c b/ircd/client.c
index 10bcd990..ed7f9bfb 100644
--- a/ircd/client.c
+++ b/ircd/client.c
@@ -185,6 +185,12 @@ client_set_privs(struct Client *client, struct ConfItem 
*oper, int forceOper)
     if (class && (!FlagHas(&class->privs_dirty, PRIV_PROPAGATE)
               || !FlagHas(&class->privs, PRIV_PROPAGATE)))
       class = NULL;
+
+    /* For remote opers, we need to also set their max sendq because
+     * we will not be attaching an Operator block to their client.
+     */
+    if (MaxSendq(class))
+      cli_max_sendq(client) = MaxSendq(class);
   }
 
   /* Decide whether to use global or local oper defaults. */
commit 6ad5f816840c87febf6036d3444078ab4e6c3576
Author: Michael Poole <[email protected]>
Date:   Sun Mar 12 19:42:00 2023 -0400

    Fix DEBUGMODE with Darwin

diff --git a/ircd/os_generic.c b/ircd/os_generic.c
index b84c7a09..00c42234 100644
--- a/ircd/os_generic.c
+++ b/ircd/os_generic.c
@@ -35,6 +35,11 @@
  * they cleverly hide IPPROTO_IPV6.  If you don't ask for anything,
  * they give you everything.
  */
+#elif defined (__APPLE__) && defined(__MACH__)
+/* Mac OS X / Darwin hides most details of struct rusage if you ask for
+ * any particular standard.  And like FreeBSD, if you don't ask for
+ * anything, they give you everything.
+ */
 #else
 #define _XOPEN_SOURCE   600
 #endif
-----------------------------------------------------------------------

Summary of changes:
 ircd/client.c     | 6 ++++++
 ircd/os_generic.c | 5 +++++
 2 files changed, 11 insertions(+)


hooks/post-receive
-- 
Undernet IRC Server Source Code.

-- 
You received this message because you are subscribed to the Google Groups 
"Undernet Mailing List - [email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].

Reply via email to