"found messages: (n/j) ..." -> "found: (n/j) ..."

This commit is contained in:
jesopo 2020-01-30 15:37:10 +00:00
parent 402872b3f8
commit 927fd7e3e7

View file

@ -18,8 +18,7 @@ class Module(ModuleManager.BaseModule):
utils.datetime.to_pretty_time(seconds),
message.line.format()))
plural = "message" if message_count == 0 else "messages"
event["stdout"].write("%s: found messages: %s"
event["stdout"].write("%s: found: %s"
% (event["user"].nickname, "\n".join(messages)))
else:
event["stderr"].write("%s: no messages found"