1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-11-19 13:22:54 +00:00

State: Fixed defaultstore.Message oob crash

This commit is contained in:
diamondburned 2020-11-29 18:21:33 -08:00
parent 75d6be7a9d
commit f4860731fe

View file

@ -27,6 +27,7 @@ func NewMessage(maxMsgs int) *Message {
messages: []discord.Message{}, // never use a nil slice messages: []discord.Message{}, // never use a nil slice
} }
}), }),
maxMsgs: maxMsgs,
} }
} }