diff --git a/plugins/Topic/locales/fi.po b/plugins/Topic/locales/fi.po index 3b7b8e008..c03fb3b2b 100644 --- a/plugins/Topic/locales/fi.po +++ b/plugins/Topic/locales/fi.po @@ -102,9 +102,9 @@ msgid "I'm not currently in %s." msgstr "En tällä hetkellä ole kanavalla %s." #: plugin.py:61 -msgid "I can't change the topic, I'm not opped and %s is +t." +msgid "I can't change the topic, I'm not (half)opped and %s is +t." msgstr "" -"En voi vaihtaa aihetta, koska en ole kanavaoperaattori ja kanavalla %s on " +"En voi vaihtaa aihetta, koska en ole kanavapuolioperaattori ja kanavalla %s on " "tila +t." #: plugin.py:68 diff --git a/plugins/Topic/locales/fr.po b/plugins/Topic/locales/fr.po index 0922090bd..b4d38b792 100644 --- a/plugins/Topic/locales/fr.po +++ b/plugins/Topic/locales/fr.po @@ -93,8 +93,8 @@ msgid "I'm not currently in %s." msgstr "Je ne suis pas actuellement sur %s." #: plugin.py:61 -msgid "I can't change the topic, I'm not opped and %s is +t." -msgstr "Je ne peux changer le topic, je ne suis pas opé, et %s a le mode +t." +msgid "I can't change the topic, I'm not (half)opped and %s is +t." +msgstr "Je ne peux changer le topic, je ne suis pas halfopé, et %s a le mode +t." #: plugin.py:68 msgid "The topic must not include %q." diff --git a/plugins/Topic/locales/it.po b/plugins/Topic/locales/it.po index 4bab6b39e..10139c9fc 100644 --- a/plugins/Topic/locales/it.po +++ b/plugins/Topic/locales/it.po @@ -74,8 +74,8 @@ msgid "I'm not currently in %s." msgstr "Attualmente non sono in %s." #: plugin.py:61 -msgid "I can't change the topic, I'm not opped and %s is +t." -msgstr "Non posso cambiare il topic, non sono op e %s ha il mode +t." +msgid "I can't change the topic, I'm not(half)opped and %s is +t." +msgstr "Non posso cambiare il topic, non sono halfop e %s ha il mode +t." #: plugin.py:68 msgid "The topic must not include %q." diff --git a/plugins/Topic/plugin.py b/plugins/Topic/plugin.py index b21d07b51..4804172fd 100644 --- a/plugins/Topic/plugin.py +++ b/plugins/Topic/plugin.py @@ -57,8 +57,8 @@ def canChangeTopic(irc, msg, args, state): state.error(format(_('I\'m not currently in %s.'), state.channel), Raise=True) c = irc.state.channels[state.channel] - if irc.nick not in c.ops and 't' in c.modes: - state.error(format(_('I can\'t change the topic, I\'m not opped ' + if 't' in c.modes and not c.isHalfopPlus(irc.nick): + state.error(format(_('I can\'t change the topic, I\'m not (half)opped ' 'and %s is +t.'), state.channel), Raise=True) def getTopic(irc, msg, args, state, format=True):