This would keep your Directory shut for the full time.
No matter whether it's Day or Night or whether it's Man or Werewolf or whatever wants in.
So suggested improvements would include:
- Shut only at Night Time.
- Check Visitors Time Zone. (It might be Night there ...)
- Check User-Agent for Werewolf
(As in: User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Werewolf/52.0)
Obviously there can't be any warranty on this to work, because User-Agent could be masked. To appear a Sheep or a normal Browser.