MINOR: cfgparse: warn when uid parameter is not a number

Currently, no warning are emitted when the uid is not a number.
Purpose of this warning is to let admins know they their configuration
won't be applied as expected.

(cherry picked from commit 79fee6aa7accf588b52c10155748f1d6de9d72ac)
(cherry picked from commit c7fba0137b1c823cf5041e030d77cdeb610291a8)
diff --git a/src/cfgparse.c b/src/cfgparse.c
index f2181bc..fff95e1 100644
--- a/src/cfgparse.c
+++ b/src/cfgparse.c
@@ -895,7 +895,12 @@
 			err_code |= ERR_ALERT | ERR_FATAL;
 			goto out;
 		}
-		global.uid = atol(args[1]);
+		if (strl2irc(args[1], strlen(args[1]), &global.uid) != 0) {
+			Warning("parsing [%s:%d] :  uid: string '%s' is not a number.\n   | You might want to use the 'user' parameter to use a system user name.\n", file, linenum, args[1]);
+			err_code |= ERR_WARN;
+			goto out;
+		}
+
 	}
 	else if (!strcmp(args[0], "gid")) {
 		if (global.gid != 0) {