From 802911203fb397e99456b810b934504246614f50 Mon Sep 17 00:00:00 2001 From: Chris Sexton Date: Wed, 28 Apr 2021 12:49:49 -0400 Subject: [PATCH] last: fix crash --- plugins/last/last.go | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/last/last.go b/plugins/last/last.go index 0a30ce2..2e43bdc 100644 --- a/plugins/last/last.go +++ b/plugins/last/last.go @@ -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 {