From dd64bf8dad5f2a8a62d1e46567535a1c080ea269 Mon Sep 17 00:00:00 2001
From: Jilles Tjoelker <jilles@stack.nl>
Date: Thu, 1 Oct 2015 22:54:29 +0200
Subject: [PATCH] Fix build on glibc (no strlcpy).

---
 src/s_user.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/s_user.c b/src/s_user.c
index 95e8fa042..f75b73a7b 100644
--- a/src/s_user.c
+++ b/src/s_user.c
@@ -281,7 +281,7 @@ register_local_user(struct Client *client_p, struct Client *source_p)
 		myusername[i] = '\0';
 	}
 	else
-		strlcpy(myusername, source_p->username, sizeof myusername);
+		rb_strlcpy(myusername, source_p->username, sizeof myusername);
 
 	if((status = check_client(client_p, source_p, myusername)) < 0)
 		return (CLIENT_EXITED);