summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Rosdahl <joel@rosdahl.net>2016-10-23 22:15:06 +0200
committerJoel Rosdahl <joel@rosdahl.net>2016-10-23 22:15:06 +0200
commit06d740194d1571404711effe44e57c4cc2e861d2 (patch)
treed51b1150c924e8b5d578ea00aa6ccb2a730eff98
parentce4441df89555865ac3b35903eec138d3824d414 (diff)
downloadminiircd-06d740194d1571404711effe44e57c4cc2e861d2.tar.gz
miniircd-06d740194d1571404711effe44e57c4cc2e861d2.zip
Start correctly on Windows
-rw-r--r--CHANGES1
-rwxr-xr-xminiircd3
2 files changed, 4 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index 31c9fd0..60883be 100644
--- a/CHANGES
+++ b/CHANGES
@@ -13,6 +13,7 @@ Unreleased
* --password-file: file from which to read connection password
* --pid-file: file to write PID to
* Split name listing message into multiple 353 messages when needed.
+ * Made miniircd start correctly on Windows.
1.1 (2015-05-22)
diff --git a/miniircd b/miniircd
index 3048e7a..3f3de5d 100755
--- a/miniircd
+++ b/miniircd
@@ -966,6 +966,9 @@ def main(argv):
metavar="U[:G]",
help="change process user (and optionally group) after startup"
" (requires root)")
+ else:
+ op.chroot = False
+ op.setuid = False
(options, args) = op.parse_args(argv[1:])
if options.debug: