mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-17 06:00:42 +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:
|
if nick is None:
|
||||||
nick = msg.nick
|
nick = msg.nick
|
||||||
if nick not in irc.state.channels[channel].users:
|
if nick not in irc.state.channels[channel].users:
|
||||||
irc.error(format(_('You must be in %s to use this command.'),
|
irc.error(format(_('%s must be in %s to use this command.'),
|
||||||
channel))
|
('You' if nick == msg.nick else nick), channel))
|
||||||
return
|
return
|
||||||
end = None # By default, up until the most recent message.
|
end = None # By default, up until the most recent message.
|
||||||
for (i, m) in utils.seq.renumerate(irc.state.history):
|
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
|
"""stick the various versioning attributes in here, so we only have to change
|
||||||
them once."""
|
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…
x
Reference in New Issue
Block a user