aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2019-01-27 07:16:09 +0000
committerGravatar jesopo2019-01-27 07:16:41 +0000
commit0bb2491399968349949195274ef3cd0fe3a03177 (patch)
tree551c0ffa852cf6742b0485c88a34c5d6ea177705 /modules
parentHandle `prefix` being null when we've received a server notice (line_handler.py) (diff)
signature
The event fired when we get an `account-notify` message iss
`received.account.login`, not `received.account` (auto_mode.py)
Diffstat (limited to 'modules')
-rw-r--r--modules/auto_mode.py2
1 files changed, 1 insertions, 1 deletions
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: