Skip to content

What is calling plugins? #83

Description

@moggers87

This core plugin has at least 3 ways it can call event handlers from plugins:

  • connection.hooker.hook(connection, info) which is labelled as "old system"
  • connection.handler.event(event) which is labelled as "new events/hook system"
  • connection.core["Coreexecutor"].main(connection, info, info.plugin_name) which is labelled as new or old
    • but plugins are run in threads and it appears to be the only place where that is so

This mess needs to be cleaned up and we should use one system for everything.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions