BadWords: improve help for requireWordBoundaries config.

Make a note that the plugin requires restart or the words set updating,
for changes to this setting to take effect.
This commit is contained in:
Daniel Folkinshteyn 2010-09-08 00:11:28 -04:00 committed by Valentin Lorentz
parent 0e67977cdd
commit 817190ff6b

View File

@ -57,7 +57,9 @@ conf.registerGlobalValue(BadWords,'requireWordBoundaries',
words to be independent words, or whether it will censor them within other words to be independent words, or whether it will censor them within other
words. For instance, if 'darn' is a bad word, then if this is true, 'darn' words. For instance, if 'darn' is a bad word, then if this is true, 'darn'
will be censored, but 'darnit' will not. You probably want this to be will be censored, but 'darnit' will not. You probably want this to be
false."""))) false. After changing this setting, the BadWords regexp needs to be
regenerated by adding/removing a word to the list, or reloading the
plugin.""")))
class String256(registry.String): class String256(registry.String):
def __call__(self): def __call__(self):