Fixed some bugs. The tests still fail, I can't figure out why.

This commit is contained in:
Jeremy Fincher 2004-11-07 21:10:51 +00:00
parent 2633575d9a
commit 689803330c

View File

@ -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