mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 20:52:42 +01:00
Change words from a channel value to a global value.
This commit is contained in:
parent
5765a3412e
commit
154577832c
@ -69,7 +69,7 @@ class LastModifiedSetOfStrings(registry.SpaceSeparatedListOfStrings):
|
|||||||
registry.SpaceSeparatedListOfStrings.setValue(self, v)
|
registry.SpaceSeparatedListOfStrings.setValue(self, v)
|
||||||
|
|
||||||
conf.registerPlugin('BadWords')
|
conf.registerPlugin('BadWords')
|
||||||
conf.registerChannelValue(conf.supybot.plugins.BadWords, 'words',
|
conf.registerGlobalValue(conf.supybot.plugins.BadWords, 'words',
|
||||||
LastModifiedSetOfStrings([], """Determines what words are
|
LastModifiedSetOfStrings([], """Determines what words are
|
||||||
considered to be 'bad' so the bot won't say them."""))
|
considered to be 'bad' so the bot won't say them."""))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user