#!/usr/bin/env python
-# this entire thing is a hack
+# this entire thing is a hack and badly needs reimplementing
DEFAULT_PORT = 9090
from twisted.scripts.twistd import run
args1.append("-n")
if options.debug:
args1.append("-b")
-args1+=["--reactor", options.reactor]
+
+if options.reactor != DEFAULT_REACTOR:
+ args1+=["--reactor", options.reactor]
if options.logfile:
args+=["--logfile", options.logfile]