diff options
| author | 2020-02-05 18:21:08 +0000 | |
|---|---|---|
| committer | 2020-02-05 18:21:08 +0000 | |
| commit | 5bbae499d124ba5718551ec171966c517735f4ba (patch) | |
| tree | aee01497facbf9847b0bdb3e43e17f36ba8f8e65 /src/core_modules/format_activity.py | |
| parent | move !alias variables in to alias_variables.py, add RNICK (random nick) (diff) | |
| signature | ||
chghost events no longer have 'username'/'hostname' kwargs
Diffstat (limited to 'src/core_modules/format_activity.py')
| -rw-r--r-- | src/core_modules/format_activity.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core_modules/format_activity.py b/src/core_modules/format_activity.py index cad74db3..95c37e19 100644 --- a/src/core_modules/format_activity.py +++ b/src/core_modules/format_activity.py @@ -112,8 +112,8 @@ class Module(ModuleManager.BaseModule): @utils.hook("received.chghost") def _on_chghost(self, event): - username = event["username"] - hostname = event["hostname"] + username = event["user"].username + hostname = event["user"].hostname minimal = "{~NICK} changed host to {USER}@{HOST}" line = "- %s" % minimal |
