From f1852f2e2b4754709f1cd22b77a16170079aadc5 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sat, 3 Dec 2011 12:45:07 +0100 Subject: [PATCH] Seen: Fix error message ('You must be in') for @since. --- plugins/Seen/plugin.py | 4 ++-- src/version.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/Seen/plugin.py b/plugins/Seen/plugin.py index 876521352..ce69a534e 100644 --- a/plugins/Seen/plugin.py +++ b/plugins/Seen/plugin.py @@ -307,8 +307,8 @@ class Seen(callbacks.Plugin): if nick is None: nick = msg.nick if nick not in irc.state.channels[channel].users: - irc.error(format(_('You must be in %s to use this command.'), - channel)) + irc.error(format(_('%s must be in %s to use this command.'), + ('You' if nick == msg.nick else nick), channel)) return end = None # By default, up until the most recent message. for (i, m) in utils.seq.renumerate(irc.state.history): diff --git a/src/version.py b/src/version.py index d6d5879f9..ebd088ae6 100644 --- a/src/version.py +++ b/src/version.py @@ -1,3 +1,3 @@ """stick the various versioning attributes in here, so we only have to change them once.""" -version = '0.83.4.1+limnoria (2011-12-03T12:36:16+0100)' +version = '0.83.4.1+limnoria (2011-12-03T12:45:07+0100)'