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:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user