Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hooks are not fired in consistent order #33

Open
daurnimator opened this issue Jan 27, 2015 · 1 comment
Open

Hooks are not fired in consistent order #33

daurnimator opened this issue Jan 27, 2015 · 1 comment

Comments

@daurnimator
Copy link

At the moment hooks are iterated over with pairs(), which is unordered.
This means that hooks are not fired in a consistent order; and therefore that returning true to stop further processing isn't useful.

@daurnimator
Copy link
Author

Consider using prosody's util.events

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant