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  930761e053b9e3c6b1e8ac92f5d3701d4790343e (commit)
      from  e7a38c23f2fbec0741c11bb3bc85573127fa4291 (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 930761e053b9e3c6b1e8ac92f5d3701d4790343e
Author: Michael Poole <mdpo...@troilus.org>
Date:   Thu Oct 13 23:33:20 2016 -0400

    STATS U: Flag UWorld servers with oper privileges.

diff --git a/ircd/s_err.c b/ircd/s_err.c
index dfaa8b3..ce660fb 100644
--- a/ircd/s_err.c
+++ b/ircd/s_err.c
@@ -528,7 +528,7 @@ static Numeric replyTable[] = {
 /* 247 */
   { RPL_STATSGLINE, "%c %s%s%s %Tu %Tu %Tu %s%c :%s", "247" },
 /* 248 */
-  { RPL_STATSULINE, "U %s", "248" },
+  { RPL_STATSULINE, "U %s%s", "248" },
 /* 249 */
   { RPL_STATSDEBUG, 0, "249" },
 /* 250 */
diff --git a/ircd/s_stats.c b/ircd/s_stats.c
index 3bd1321..d33108c 100644
--- a/ircd/s_stats.c
+++ b/ircd/s_stats.c
@@ -104,7 +104,10 @@ stats_configured_links(struct Client *sptr, const struct 
StatDesc* sd,
       port = tmp->address.port;
 
       if (tmp->status & CONF_UWORLD)
-       send_reply(sptr, RPL_STATSULINE, host);
+      {
+        const char *oper = (tmp->flags & CONF_UWORLD_OPER) ? "+" : "";
+        send_reply(sptr, RPL_STATSULINE, oper, host);
+      }
       else if (tmp->status & CONF_SERVER)
        send_reply(sptr, RPL_STATSCLINE, name, port, maximum, hub_limit, 
get_conf_class(tmp));
       else if (tmp->status & CONF_CLIENT)
-----------------------------------------------------------------------

Summary of changes:
 ircd/s_err.c   |    2 +-
 ircd/s_stats.c |    5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Undernet IRC Server Source Code.
_______________________________________________
Patches mailing list
Patches@undernet.org
http://undernet.sbg.org/mailman/listinfo/patches

Reply via email to