1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 17:47:03 +00:00

lua: fix incorrect function name (#409)

Signed-off-by: James Hillyerd <james@hillyerd.com>
This commit is contained in:
James Hillyerd
2023-10-23 17:05:56 -07:00
committed by GitHub
parent d6c23df241
commit 163a84f353

View File

@@ -142,7 +142,7 @@ func (h *Host) handleAfterMessageStored(msg event.MessageMetadata) {
} }
func (h *Host) handleBeforeMailAccepted(addr event.AddressParts) *bool { func (h *Host) handleBeforeMailAccepted(addr event.AddressParts) *bool {
logger, ls, ib, ok := h.prepareInbucketFuncCall("after.message_stored") logger, ls, ib, ok := h.prepareInbucketFuncCall("before.mail_accepted")
if !ok { if !ok {
return nil return nil
} }