From 689803330c5fcbd298a7b2c73c631a55db1c0ee7 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Sun, 7 Nov 2004 21:10:51 +0000 Subject: [PATCH] Fixed some bugs. The tests still fail, I can't figure out why. --- plugins/BadWords.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/BadWords.py b/plugins/BadWords.py index 4cf9e939b..a4a5e1643 100644 --- a/plugins/BadWords.py +++ b/plugins/BadWords.py @@ -164,7 +164,7 @@ class BadWords(privmsgs.CapabilityCheckingPrivmsg): set.update(words) self.words.setValue(set) irc.replySuccess() - add = wrap(add, [many('text')]) + add = wrap(add, [many('something')]) def remove(self, irc, msg, args, words): """ [ ...] @@ -176,7 +176,7 @@ class BadWords(privmsgs.CapabilityCheckingPrivmsg): set.discard(word) self.words.setValue(set) irc.replySuccess() - remove = wrap(remove, [many('text')]) + remove = wrap(remove, [many('something')]) Class = BadWords