register irc callbacks on the bot directly
Bug #531846 reported by
Ricardo Kirkner
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lalita |
Fix Released
|
Undecided
|
Ricardo Kirkner |
Bug Description
Plugins should be able to register callbacks for events on the client directly for listening to generic IRCClient events (for example being able to register irc_RPL_NAMREPLY).
Currently, all event handlers are registered against the plugin. As certain events need to be handled by the client directly (as the RPL_NAMREPLY), we need to be able to monkey-patch it from within the plugin to enable the provision of those callbacks.
Related branches
lp:~ricardokirkner/lalita/generic_callbacks
- Guillermo Gonzalez: Approve
-
Diff: 100 lines (+58/-0)2 files modifiedlalita/core/dispatcher.py (+10/-0)
lalita/core/tests/test_dispatcher.py (+48/-0)
Changed in lalita: | |
milestone: | none → alpha |
status: | New → Confirmed |
Changed in lalita: | |
assignee: | nobody → Ricardo Kirkner (ricardokirkner) |
status: | Confirmed → In Progress |
Changed in lalita: | |
status: | In Progress → Fix Committed |
Changed in lalita: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.