mirror of
https://github.com/fluffle/goirc
synced 2025-10-24 07:08:02 +00:00
Previously, it was possible to add the same handler (as returned by NewHandler) to multiple different event lists, but DelHandler only removed a handler from *all* event lists it was present in. This may not be wanted behaviour, and reduces control over the event lists. Instead, allow both Add and DelHandler to take a variadic list of events to add or delete handlers from. |
||
|---|---|---|
| .. | ||
| registry.go | ||
| registry_test.go | ||