Skip to content

Commit

Permalink
Fix copypasta'd docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Lavender committed Aug 26, 2015
1 parent c8fc001 commit 8348c48
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/scripting.md
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,6 @@ Receive middleware callbacks receive three arguments, `context`, `next`, and
`done`. See the [middleware API](#execution-process-and-api) for a description
of `next` and `done`. Receive middleware context includes these fields:
- `response`
- all parts of the standard response API are included in the middleware API. See [Send & Reply](#send--reply).
- this response object will not have a `match` property, as no listeners have been run yet to match it.
- middleware may decorate the response object with additional information (e.g. add a property to `response.message.user` with a user's LDAP groups)
- middleware may modify the `response.message` object
- note: the textual message (`response.message.text`) should be considered immutable in listener middleware

0 comments on commit 8348c48

Please sign in to comment.