From 22e0d7781714dfef823a451ab25f40780ad47d35 Mon Sep 17 00:00:00 2001 From: Tai Kedzierski Date: Wed, 30 Jan 2019 23:33:06 +0000 Subject: [PATCH] allow guests correctly --- lua/guestlists.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lua/guestlists.lua b/lua/guestlists.lua index 10d6c75..13bd970 100644 --- a/lua/guestlists.lua +++ b/lua/guestlists.lua @@ -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