From aad3da9f8d263a665be4a4820daa4cf0c4a134e9 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sat, 30 Nov 2019 16:43:41 +0000 Subject: [PATCH] don't update !seen details for ourself --- modules/seen.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/seen.py b/modules/seen.py index e7de15b9..d794e541 100644 --- a/modules/seen.py +++ b/modules/seen.py @@ -14,9 +14,7 @@ class Module(ModuleManager.BaseModule): def on_formatted(self, event): line = event["minimal"] or event["line"] - if event["channel"]: - self._change_seen(event["channel"], event["user"], line) - elif event["user"]: + if not event["server"].is_own_nickname(event["user"].nickname): for channel in event["user"].channels: self._change_seen(channel, event["user"], line)