last: fix crash

This commit is contained in:
Chris Sexton 2021-04-28 12:49:49 -04:00 committed by Chris Sexton
parent 19cbf5efd9
commit 802911203f
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@ func New(b bot.Bot) *LastPlugin {
p := &LastPlugin{
b: b,
db: b.DB(),
c: b.Config(),
channels: map[string]bool{},
}
if err := p.migrate(); err != nil {