mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 12:42:34 +01:00
Fixed.
This commit is contained in:
parent
e826ebde49
commit
98e6e9a1d7
@ -262,7 +262,7 @@ class Topic(callbacks.Privmsg):
|
||||
return
|
||||
newtopics = [topics[i] for i in numbers]
|
||||
self._sendTopics(irc, channel, newtopics)
|
||||
reorder = wrap(reorder, ['canChangeTopic', 'topicNumber+'])
|
||||
reorder = wrap(reorder, ['canChangeTopic', many('topicNumber')])
|
||||
|
||||
def list(self, irc, msg, args, channel):
|
||||
"""[<channel>]
|
||||
@ -317,7 +317,9 @@ class Topic(callbacks.Privmsg):
|
||||
else:
|
||||
topics = [topic]
|
||||
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):
|
||||
"""[<channel>] <number>
|
||||
|
Loading…
Reference in New Issue
Block a user