mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-26 12:49:24 +01:00
sets aren't lists, and don't have .extend().
This commit is contained in:
parent
b6e98a577f
commit
7851ea4ef9
@ -70,7 +70,8 @@ class BadWords(callbacks.Privmsg):
|
||||
"<word> [<word> ...]"
|
||||
if ircdb.checkCapability(msg.prefix, 'admin'):
|
||||
words = privmsgs.getArgs(args).split()
|
||||
self.badwords.extend(words)
|
||||
for word in words:
|
||||
self.badwords.add(word)
|
||||
self.makeRegexp()
|
||||
irc.reply(msg, conf.replySuccess)
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user