ChannelStats: Fix typo.

This commit is contained in:
Valentin Lorentz 2014-01-22 13:46:42 +01:00
parent f6aa48f393
commit b3b077c065

View File

@ -359,7 +359,7 @@ class ChannelStats(callbacks.Plugin):
the message isn't sent on the channel itself.
"""
if channel not in irc.state.channels:
irc.error(_('I am not in %s.', channel), Raise=True)
irc.error(_('I am not in %s.') % channel, Raise=True)
elif msg.nick not in irc.state.channels[channel].users:
irc.error(_('You must be in %s to use this command.') % channel,
Raise=True)