diff options
Diffstat (limited to 'scripts/xmppdaemon.php')
-rwxr-xr-x | scripts/xmppdaemon.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/xmppdaemon.php b/scripts/xmppdaemon.php index b013a34c9..153ab5149 100755 --- a/scripts/xmppdaemon.php +++ b/scripts/xmppdaemon.php @@ -259,7 +259,7 @@ class XMPPDaemon { mb_internal_encoding('UTF-8'); -$resource = ($argc > 1) ? $argv[1] : NULL; +$resource = ($argc > 1) ? $argv[1] : (common_config('xmpp','resource') . '-listen'); $daemon = new XMPPDaemon($resource); |