1
0
mirror of https://github.com/velour/catbase.git synced 2025-04-04 04:01:42 +00:00

last: fix crash

This commit is contained in:
Chris Sexton 2021-04-28 12:49:49 -04:00
parent 19cbf5efd9
commit 35da9d7c47

View File

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