From 0bb2491399968349949195274ef3cd0fe3a03177 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 27 Jan 2019 07:16:09 +0000 Subject: [PATCH] The event fired when we get an `account-notify` message iss `received.account.login`, not `received.account` (auto_mode.py) --- modules/auto_mode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/auto_mode.py b/modules/auto_mode.py index 71ff1158..bef0e81a 100644 --- a/modules/auto_mode.py +++ b/modules/auto_mode.py @@ -20,7 +20,7 @@ class Module(ModuleManager.BaseModule): @utils.hook("received.join") def on_join(self, event): self._check_modes(event["channel"], event["user"]) - @utils.hook("received.account") + @utils.hook("received.account.login") @utils.hook("internal.identified") def on_account(self, event): for channel in event["user"].channels: