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  7c9251b9f2722567945a111874f0a96ce6985c63 (commit)
      from  02d41e2b32b30865d07ad123f6afaf9c1a6060f9 (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 7c9251b9f2722567945a111874f0a96ce6985c63
Author: Michael Poole <[email protected]>
Date:   Tue Nov 29 22:42:04 2016 -0500

    s_auth: Don't crash when a server connects.  (Oops.)

diff --git a/ircd/s_auth.c b/ircd/s_auth.c
index 0a1bf1a..ebbe745 100644
--- a/ircd/s_auth.c
+++ b/ircd/s_auth.c
@@ -441,7 +441,11 @@ static int check_auth_finished(struct AuthRequest *auth, 
int bitclr)
     /* Copy username to struct User.username for kill checking. */
     sptr = auth->client;
     user = cli_user(sptr);
-    if (IsIdented(sptr))
+    if (IsServerPort(sptr) || IsServer(sptr))
+    {
+      /* servers don't get username assignments */
+    }
+    else if (IsIdented(sptr))
     {
       clean_username(user->username, cli_username(sptr));
     }
-----------------------------------------------------------------------

Summary of changes:
 ircd/s_auth.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)


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

Reply via email to