mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 06:49:24 +01:00
Long line.
This commit is contained in:
parent
b9cd0275e9
commit
fab281b9b7
@ -43,7 +43,8 @@ def canChangeTopic(irc, msg, args, state):
|
|||||||
callConverter('channel', irc, msg, args, state)
|
callConverter('channel', irc, msg, args, state)
|
||||||
callConverter('inChannel', irc, msg, args, state)
|
callConverter('inChannel', irc, msg, args, state)
|
||||||
if state.channel not in irc.state.channels:
|
if state.channel not in irc.state.channels:
|
||||||
irc.error(format('I\'m not currently in %s.', state.channel),Raise=True)
|
irc.error(format('I\'m not currently in %s.', state.channel),
|
||||||
|
Raise=True)
|
||||||
c = irc.state.channels[state.channel]
|
c = irc.state.channels[state.channel]
|
||||||
if irc.nick not in c.ops and 't' in c.modes:
|
if irc.nick not in c.ops and 't' in c.modes:
|
||||||
irc.error(format('I can\'t change the topic, I\'m not opped '
|
irc.error(format('I can\'t change the topic, I\'m not opped '
|
||||||
|
Loading…
Reference in New Issue
Block a user