From 79aff93b5de3cd9ed61920abe5e7c1f0acd1b27d Mon Sep 17 00:00:00 2001 From: jesopo Date: Sat, 6 Oct 2018 15:45:56 +0100 Subject: Add a ControlSocket client to IRCBot.py, use it to trigger the epoll loop when a github webhook has been caught! --- modules/github.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/github.py') diff --git a/modules/github.py b/modules/github.py index 789b8c00..ab5744b2 100644 --- a/modules/github.py +++ b/modules/github.py @@ -41,4 +41,4 @@ class Module(ModuleManager.BaseModule): self.events.on("send.stdout").call(target=channel, module_name="Github", server=server, message=line) - self.bot.register_both(server) + self.bot.trigger() -- cgit v1.3.1-10-gc9f91