Commit Graph

19 Commits

Author SHA1 Message Date
Valentin Lorentz bdbb74f046 BadWords: Re-allow words with a space (aka 'phrases')
I disallowed it in f3f628ddba because they
couldn't be deserialized properly.

This commit adds a new 'phrases' config var in addition to 'words',
that is comma-separated instead of space-separated.
2020-09-05 22:59:09 +02:00
Valentin Lorentz f3f628ddba BadWords: disallow adding words with a space in them.
Deserialization splits on spaces, so they are not preserved properly.
2020-09-05 21:37:32 +02:00
Valentin Lorentz c1ae3f5c81 all plugins: Use msg.channel instead of msg.args[0] + give network name to self.registryValue. 2019-08-24 23:35:01 +02:00
Valentin Lorentz 696254ff1b Use irc.isChannel instead of ircutils.isChannel when possible.
It's aware of the network's 'chantypes'.
2019-08-04 21:52:40 +02:00
James Lu 96dc860313 BadWords: truly fix kicks when badwords list is empty (#989) 2015-09-25 20:51:15 -07:00
GLolol d8404252ae BadWords: update help message 2015-01-03 14:15:59 -05:00
GLolol 7e7c4425cf BadWords: bugfix & don't kick ops (Closes ProgVal/Limnoria#275) 2015-01-02 22:08:59 -05:00
Valentin Lorentz 3dba9088b0 Merge remote-tracking branch 'supybot/master' into testing
Conflicts:
	INSTALL
	plugins/ChannelLogger/README.txt
	plugins/ChannelStats/README.txt
	plugins/Google/plugin.py
	plugins/Google/test.py
	plugins/Plugin/test.py
	plugins/Web/test.py
	setup.py
	src/callbacks.py
	src/ircdb.py
	src/irclib.py
	src/utils/str.py
	test/test_irclib.py
2013-01-01 21:11:24 +01:00
James McCoy 82ecf36fcd Update my name/contact information
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
2012-09-01 10:16:48 -04:00
Valentin Lorentz 945b34d519 BadWords: Add support for +h. 2012-04-15 21:02:42 +00:00
Valentin Lorentz 99ad2d193e BadWords: Fix commit 123c176637. 2012-02-25 14:02:02 +01:00
nyuszika7h 123c176637 BadWords: Make configuration variable requireWordBoundaries channel-specific 2012-02-18 19:37:55 +08:00
Daniel Folkinshteyn 0e67977cdd Badwords: add plugin docstring, and fix/standardize some method docstrings. 2011-01-29 11:46:14 +01:00
Valentin Lorentz ca23f946e5 Internationalize Alias, Anonymous, AutoMode, and BadWord 2010-10-16 18:54:18 +02:00
Benjamin P. Burhans 6418b3d8c3 Check for empty word list in BadWords plugin before filtering.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-09-16 01:20:52 -04:00
James Vega 5301390290 BadWords: Only send a msg stripped of formatting if it had bad words
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
2009-04-14 19:59:59 -04:00
Jeremy Fincher d73b1eecf7 Moved BadWords's kick-check to an inFilter rather than doPrivmsg, so ignored people can still be kicked. 2009-03-12 13:47:12 -05:00
Jeremy Fincher f1948a2245 Final cleanups for BadWords kicking. 2009-03-11 13:37:24 -04:00
Jeremy Fincher e292c5d0c9 Added kick ability to the BadWords plugin, imported it from supybot-plugins. 2009-03-11 13:37:24 -04:00