args_split[0] -> user.nickname (seen.py)

This commit is contained in:
jesopo 2020-03-08 21:42:31 +00:00
parent fc0b5eb46e
commit 1da222794c

View file

@ -36,7 +36,7 @@ class Module(ModuleManager.BaseModule):
since = utils.datetime.format.to_pretty_since(
time.time()-seen_seconds, max_units=2)
event["stdout"].write("%s was last seen %s ago%s" % (
event["args_split"][0], since, seen_info or ""))
user.nickname, since, seen_info or ""))
else:
event["stderr"].write("I have never seen %s before." % (
event["args_split"][0]))
user.nickname))