Fix bug in previous version causing 4channel.org to be seen as separate site in thread watcher etc.
This commit is contained in:
parent
b74431cfba
commit
131ae76e15
@ -7,6 +7,7 @@ Site =
|
|||||||
{hostname} = location
|
{hostname} = location
|
||||||
while hostname and hostname not of swDict
|
while hostname and hostname not of swDict
|
||||||
hostname = hostname.replace(/^[^.]*\.?/, '')
|
hostname = hostname.replace(/^[^.]*\.?/, '')
|
||||||
|
hostname = '4chan.org' if hostname is '4channel.org'
|
||||||
if hostname
|
if hostname
|
||||||
@set hostname, swDict[hostname]
|
@set hostname, swDict[hostname]
|
||||||
cb()
|
cb()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user