Admin: internationalize a string.

This commit is contained in:
Valentin Lorentz 2015-12-28 20:00:41 +01:00
parent d9a01629cd
commit f4d36cd087
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ class Admin(callbacks.Plugin):
when attempting to join the channel.
"""
if not irc.isChannel(channel):
irc.errorInvalid('channel', channel, Raise=True)
irc.errorInvalid(_('channel'), channel, Raise=True)
networkGroup = conf.supybot.networks.get(irc.network)
networkGroup.channels().add(channel)
if key: