mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 18:44:04 +01:00
Admin: internationalize a string.
This commit is contained in:
parent
d9a01629cd
commit
f4d36cd087
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user