summaryrefslogtreecommitdiff
path: root/src/inspircd_io.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inspircd_io.cpp')
-rw-r--r--src/inspircd_io.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd_io.cpp b/src/inspircd_io.cpp
index 553d73e96..9f96c463e 100644
--- a/src/inspircd_io.cpp
+++ b/src/inspircd_io.cpp
@@ -90,7 +90,7 @@ int DaemonSeed (void)
else if (childpid > 0)
exit (0);
setsid ();
- umask (077);
+ umask (007);
/* close stdout, stdin, stderr */
close(0);
close(1);