diff --git a/README.md b/README.md index 34aae96..467d045 100644 --- a/README.md +++ b/README.md @@ -146,9 +146,9 @@ Event listeners have other functions to change the behavior. | Function | Info | | --------------------------------------- | ----------------------------------------------------------------------------------- | | Throttle("30s") | Minimum time between function calls. | -| OnlyAfter("03:00") | Only run your function after a specified time of day. | -| OnlyBefore("03:00") | Only run your function before a specified time of day. | -| OnlyBetween("03:00", "14:00") | Only run your function between two specified times of day. | +| OnlyAfter("03:00") | Only run after a specified time of day. | +| OnlyBefore("03:00") | Only run before a specified time of day. | +| OnlyBetween("03:00", "14:00") | Only run between two specified times of day. | | ExceptionDates(time.Time, ...time.Time) | A one time exception on the given date. Time is ignored, applies to whole day. | | ExceptionRange(time.Time, time.Time) | A one time exception between the two date/times. Both date and time are considered. | diff --git a/entitylistener.go b/entitylistener.go index d1592b8..ab8c3bc 100644 --- a/entitylistener.go +++ b/entitylistener.go @@ -210,7 +210,7 @@ func callEntityListeners(app *App, msgBytes []byte) { go l.callback(app.service, app.state, entityData) l.lastRan = carbon.Now() }) - return + continue } // run now if no delay set