Fix bug in previous version causing 4channel.org to be seen as separate site in thread watcher etc.

This commit is contained in:
ccd0 2018-11-23 14:51:55 -08:00
parent b74431cfba
commit 131ae76e15

View File

@ -7,6 +7,7 @@ Site =
{hostname} = location
while hostname and hostname not of swDict
hostname = hostname.replace(/^[^.]*\.?/, '')
hostname = '4chan.org' if hostname is '4channel.org'
if hostname
@set hostname, swDict[hostname]
cb()