Adding /kp to hostname (latest eney)
using same database table was a bad idea.
1.Now we have lua-regserver parsing hub's hostname without kp(as is should) and dumping json.
2.Script gets that json on timer and does checks then injects data to db.
2.Pinger pings provided host and adds kp(changing host table in db). (eney release feature)
3.Scripts gets json after some time and injects hub again as host seems different (no keypring lool).
Fix:
Approach one: Split hostname table into 2 hostname and kp (edit scripts).
Approach two (best): Have a regserver get kp and have it attached to hostname in json. Zero coding on hublist side.
Approach three: Delete json file right after parsing.Easiest.
If someone has a better idea post. And pls fix this.