mirror of https://github.com/velour/catbase.git
reminder: add missing line
This commit is contained in:
parent
8090d4209a
commit
9e386cbd70
|
@ -382,6 +382,7 @@ func (p *ReminderPlugin) reminderer(c bot.Connector) {
|
||||||
reminder := p.getNextReminder()
|
reminder := p.getNextReminder()
|
||||||
|
|
||||||
if reminder != nil && time.Now().UTC().After(reminder.when) {
|
if reminder != nil && time.Now().UTC().After(reminder.when) {
|
||||||
|
p.lastReminder[reminder.channel] = reminder
|
||||||
var message string
|
var message string
|
||||||
if reminder.from == reminder.who {
|
if reminder.from == reminder.who {
|
||||||
reminder.from = "you"
|
reminder.from = "you"
|
||||||
|
|
Loading…
Reference in New Issue