markov: be more robust about flaky dbs
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Fri, 31 Aug 2012 19:04:47 +0000 (21:04 +0200)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Fri, 31 Aug 2012 19:04:47 +0000 (21:04 +0200)
commit211e189e0308ae15a993012e82773204f36da783
treea4a13f90ccbeb83c7bedd6d500e63781cf383f2b
parent5c9579c4272f20480c7449511b76019fd41d21f4
markov: be more robust about flaky dbs

Due to historical bugs, some database entries may have ended up being
serialized as strings. Recover from this by making them into arrays.
data/rbot/plugins/markov.rb