mirror of https://github.com/Mikaela/Limnoria.git
Fixed.
This commit is contained in:
parent
e826ebde49
commit
98e6e9a1d7
|
@ -262,7 +262,7 @@ class Topic(callbacks.Privmsg):
|
||||||
return
|
return
|
||||||
newtopics = [topics[i] for i in numbers]
|
newtopics = [topics[i] for i in numbers]
|
||||||
self._sendTopics(irc, channel, newtopics)
|
self._sendTopics(irc, channel, newtopics)
|
||||||
reorder = wrap(reorder, ['canChangeTopic', 'topicNumber+'])
|
reorder = wrap(reorder, ['canChangeTopic', many('topicNumber')])
|
||||||
|
|
||||||
def list(self, irc, msg, args, channel):
|
def list(self, irc, msg, args, channel):
|
||||||
"""[<channel>]
|
"""[<channel>]
|
||||||
|
@ -317,7 +317,9 @@ class Topic(callbacks.Privmsg):
|
||||||
else:
|
else:
|
||||||
topics = [topic]
|
topics = [topic]
|
||||||
self._sendTopics(irc, channel, topics)
|
self._sendTopics(irc, channel, topics)
|
||||||
set = wrap(set, ['canChangeTopic', ('topicNumber?', 0), ('topic', False)])
|
set = wrap(set, ['canChangeTopic',
|
||||||
|
optional('topicNumber', 0),
|
||||||
|
('topic', False)])
|
||||||
|
|
||||||
def remove(self, irc, msg, args, channel, number):
|
def remove(self, irc, msg, args, channel, number):
|
||||||
"""[<channel>] <number>
|
"""[<channel>] <number>
|
||||||
|
|
Loading…
Reference in New Issue