lizmat / IRC-Client

Raku module for building IRC (Internet Relay Chat) clients
Artistic License 2.0
14 stars 7 forks source link

Bad plugin handling order #52

Open zoffixznet opened 6 years ago

zoffixznet commented 6 years ago

If first plugin subs to irc-to-me and second plugin subs to irc-addressed, the second plugin will take precedence and there's no easy way to simply force the first plugin to take precedence at all times, unless it cannot handle the event at all.

There needs to be a way of forcing plugin priority; i.e. for a certain plugin to take precedence and all events are tried with it first, before the next plugin in the mix is tried.

The plugin ordering needs to be multi-dimensional rather than flat.