don't update !seen details for ourself

This commit is contained in:
jesopo 2019-11-30 16:43:41 +00:00
parent 411f66324d
commit aad3da9f8d

View file

@ -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)