summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/xmppdaemon.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/xmppdaemon.php b/scripts/xmppdaemon.php
index 38d739e68..608cc1a36 100755
--- a/scripts/xmppdaemon.php
+++ b/scripts/xmppdaemon.php
@@ -335,6 +335,6 @@ if (have_option('i', 'id')) {
$foreground = have_option('f', 'foreground');
-$daemon = new XMPPDaemon($id, $foreground);
+$daemon = new XMPPDaemon($id, !$foreground);
$daemon->runOnce();