summaryrefslogtreecommitdiff
path: root/scripts/xmppdaemon.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-06-28 16:33:08 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-06-28 16:33:08 -0400
commitcfd25489235b176c33cc4104aadfe5378fffe67d (patch)
treebdd5354d57aca97e680fc763ca7c52705f0f200c /scripts/xmppdaemon.php
parent0c3bfc2212ef74cacac73e670ff063124bd67af5 (diff)
got my background/foreground logic backwards
Diffstat (limited to 'scripts/xmppdaemon.php')
-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();