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): def on_formatted(self, event):
line = event["minimal"] or event["line"] line = event["minimal"] or event["line"]
if event["channel"]: if not event["server"].is_own_nickname(event["user"].nickname):
self._change_seen(event["channel"], event["user"], line)
elif event["user"]:
for channel in event["user"].channels: for channel in event["user"].channels:
self._change_seen(channel, event["user"], line) self._change_seen(channel, event["user"], line)