mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 19:22:45 +01:00
Seen: Fix error message ('You must be in') for @since.
This commit is contained in:
parent
0caf7dba5b
commit
f1852f2e2b
@ -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):
|
||||
|
@ -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)'
|
||||
|
Loading…
Reference in New Issue
Block a user