diff options
| author | 2019-12-04 10:34:34 +0000 | |
|---|---|---|
| committer | 2019-12-04 10:34:34 +0000 | |
| commit | 269489b583aa973a35038844110e67c1b812383d (patch) | |
| tree | a2f58f4ef7bcaa1745878366887310655837844a /modules | |
| parent | add utils.http.Session object, to preserve cookies across requests (diff) | |
| signature | ||
we shouldn't be setting seen-info on every channel per each channel message
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/seen.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/seen.py b/modules/seen.py index d794e541..f4bfd4fd 100644 --- a/modules/seen.py +++ b/modules/seen.py @@ -15,8 +15,7 @@ class Module(ModuleManager.BaseModule): line = event["minimal"] or event["line"] if not event["server"].is_own_nickname(event["user"].nickname): - for channel in event["user"].channels: - self._change_seen(channel, event["user"], line) + self._change_seen(event["channel"], event["user"], line) @utils.hook("received.command.seen", min_args=1) def seen(self, event): |
