From beea107ff19aec313b9fdda92a8aa7863d3acce1 Mon Sep 17 00:00:00 2001 From: Jannik Sinz Date: Mon, 7 Apr 2025 14:33:28 +0200 Subject: [PATCH] chore: correct spelling in Readme.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b3d0ec8b..902c56da 100644 --- a/README.md +++ b/README.md @@ -258,7 +258,7 @@ Auth rules have 4 optional criteria and an assertion flag: | Remote | the remote address or ip of the client | | Allow | true (allow this user) or false (deny this user) | -ACL rules have 3 optional criteria and an filter match: +ACL rules have 3 optional criteria and a filter match: | Criteria | Usage | | -- | -- | | Client | client id of the connecting client | @@ -381,8 +381,8 @@ The function signatures for all the hooks and `mqtt.Hook` interface can be found | OnPublish | Called when a client publishes a message. Allows packet modification. | | OnPublished | Called when a client has published a message to subscribers. | | OnPublishDropped | Called when a message to a client is dropped before delivery, such as if the client is taking too long to respond. | -| OnRetainMessage | Called then a published message is retained. | -| OnRetainPublished | Called then a retained message is published to a client. | +| OnRetainMessage | Called when a published message is retained. | +| OnRetainPublished | Called when a retained message is published to a client. | | OnQosPublish | Called when a publish packet with Qos >= 1 is issued to a subscriber. | | OnQosComplete | Called when the Qos flow for a message has been completed. | | OnQosDropped | Called when an inflight message expires before completion. |