chiark / gitweb /
blame: Move blame db information into the cfg
These should never have been separate.
We abolish the ad-hoc tbdb, fbdbk etc. variables. Instead, we put
this all in the cfg. It is OK to extend the cfg since the code does
not destructure it but instead always indexes it. So bot instances
without blame will not mind.
blameq needs to fish it out again for the benefit of the open-coded
conditions on "#trouts" etc. I'm not fixing that right now.
The deleted lines like this
tbdb,tbdbk=loadblame("trouts")
have different variable names than the inserted lines like this
tdb,tdbk = cfgs[0][7]
because, unaccountably, the global variable names are different to
the local variables inside blameq.
No functional change.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>