mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 12:42:34 +01:00
Topic: require Halfop+ instead of op
This commit is contained in:
parent
9210aa1a33
commit
b39412bf77
@ -57,7 +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:
|
||||
if 't' in c.modes and not c.isHalfopPlus(irc.nick):
|
||||
# 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 '
|
||||
'and %s is +t.'), state.channel), Raise=True)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user