mirror of https://github.com/velour/catbase.git
last: fix crash
This commit is contained in:
parent
19cbf5efd9
commit
802911203f
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue