allow guests correctly

master
Tai Kedzierski 2019-01-30 23:33:06 +00:00
parent 4b7df3c860
commit 22e0d77817
1 changed files with 4 additions and 0 deletions

View File

@ -118,6 +118,10 @@ local function canvisit(hostname, guestname)
if explicitly_banned or explicitly_banned_from_town then
return false
elseif host_glist[guestname] == GUEST_ALLOW then
return true
elseif open_town then
return true
end