LuaIRC icon indicating copy to clipboard operation
LuaIRC copied to clipboard

Hooks are not fired in consistent order

Open daurnimator opened this issue 11 years ago • 1 comments

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 avatar Jan 27 '15 02:01 daurnimator

Consider using prosody's util.events

daurnimator avatar Jan 27 '15 02:01 daurnimator