summaryrefslogtreecommitdiffstats
path: root/play
diff options
context:
space:
mode:
Diffstat (limited to 'play')
-rw-r--r--play/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/play/index.php b/play/index.php
index 8228e278..3ab7239b 100644
--- a/play/index.php
+++ b/play/index.php
@@ -56,7 +56,7 @@ if (conf('require_session') OR $xml_rpc) {
}
/* If we are in demo mode.. die here */
-if (conf('demo_mode') || !$user->has_access('25')) {
+if (conf('demo_mode') || (!$user->has_access('25') && !$xml_rpc) ) {
if (conf('debug')) {
log_event($user->username,' access_denied ', "Streaming Access Denied, " . conf('demo_mode') . "is the value of demo_mode. Current user level is $user->access");
}