Seen: Fix docstring of @since.

This commit is contained in:
Valentin Lorentz 2013-09-14 20:24:13 +02:00
parent 0a439012c1
commit 26d7fd7aa1
1 changed files with 3 additions and 1 deletions

View File

@ -327,9 +327,11 @@ class Seen(callbacks.Plugin):
@internationalizeDocstring
def since(self, irc, msg, args, channel, nick):
"""[<channel>] <nick>
"""[<channel>] [<nick>]
Returns the messages since <nick> last left the channel.
If <nick> is not given, it defaults to the nickname of the person
calling the command.
"""
if nick is None:
nick = msg.nick