summaryrefslogtreecommitdiff
path: root/src/meetingtools/apps/room/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/meetingtools/apps/room/views.py')
-rw-r--r--src/meetingtools/apps/room/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/meetingtools/apps/room/views.py b/src/meetingtools/apps/room/views.py
index e042b7e..51abb88 100644
--- a/src/meetingtools/apps/room/views.py
+++ b/src/meetingtools/apps/room/views.py
@@ -366,7 +366,7 @@ def _goto(request,room,clean=True,promote=False):
if (room.user_count == 0) and (abs(lastvisit - now) > GRACE):
room = _clean(request,room)
- if room.host_count == 0:
+ if room.host_count == 0 and room.allow_host:
return respond_to(request, {"text/html": "apps/room/launch.html"}, {'room': room})
else:
room.save()