openbsd-ports/net/ngircd/patches/patch-src_ngircd_conf_c
fgsch 057dc33e3f Import ngircd 19.2, a lightweight irc server
input and ok sthen@ gonzalo@
2012-09-29 12:32:01 +00:00

13 lines
486 B
Plaintext

$OpenBSD: patch-src_ngircd_conf_c,v 1.1.1.1 2012/09/29 12:32:01 fgsch Exp $
--- src/ngircd/conf.c.orig Sat Sep 15 17:56:34 2012
+++ src/ngircd/conf.c Sat Sep 15 17:56:46 2012
@@ -667,7 +667,7 @@ Set_Defaults(bool InitServers)
strlcat(Conf_MotdFile, MOTD_FILE, sizeof(Conf_MotdFile));
strcpy(Conf_ServerPwd, "");
strlcpy(Conf_PidFile, PID_FILE, sizeof(Conf_PidFile));
- Conf_UID = Conf_GID = 0;
+ Conf_UID = Conf_GID = 703; /* _ngircd */
/* Limits */
Conf_ConnectRetry = 60;