mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +01:00
Fixed some bugs. The tests still fail, I can't figure out why.
This commit is contained in:
parent
2633575d9a
commit
689803330c
@ -164,7 +164,7 @@ class BadWords(privmsgs.CapabilityCheckingPrivmsg):
|
|||||||
set.update(words)
|
set.update(words)
|
||||||
self.words.setValue(set)
|
self.words.setValue(set)
|
||||||
irc.replySuccess()
|
irc.replySuccess()
|
||||||
add = wrap(add, [many('text')])
|
add = wrap(add, [many('something')])
|
||||||
|
|
||||||
def remove(self, irc, msg, args, words):
|
def remove(self, irc, msg, args, words):
|
||||||
"""<word> [<word> ...]
|
"""<word> [<word> ...]
|
||||||
@ -176,7 +176,7 @@ class BadWords(privmsgs.CapabilityCheckingPrivmsg):
|
|||||||
set.discard(word)
|
set.discard(word)
|
||||||
self.words.setValue(set)
|
self.words.setValue(set)
|
||||||
irc.replySuccess()
|
irc.replySuccess()
|
||||||
remove = wrap(remove, [many('text')])
|
remove = wrap(remove, [many('something')])
|
||||||
|
|
||||||
|
|
||||||
Class = BadWords
|
Class = BadWords
|
||||||
|
Loading…
Reference in New Issue
Block a user