diff options
author | Peter Powell <petpow@saberuk.com> | 2018-01-01 18:01:47 +0000 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2018-01-03 22:33:29 +0000 |
commit | 40514d0ba8279309f350a47652fffef745662926 (patch) | |
tree | 14c772d5e39b6a52398e5dcac46abac6c06851e2 /src/modules/m_spanningtree/treeserver.h | |
parent | 57e4bf97250a20f0b54957f2d5aabf02f158c171 (diff) |
Improve the method that blockcaps uses to block messages.
Previously it had a list of upper case letters and assumed that all
other characters were lower case. This method is flawed as it can
be evaded by using non-alphanumeric characters.
The new method takes a list of lower case letters as well as upper
case letters and ignores any letters which are not listed in one of
the two lists.
The majority of the code for this was borrowed from the m_anticaps
module in inspircd-extras.
Diffstat (limited to 'src/modules/m_spanningtree/treeserver.h')
0 files changed, 0 insertions, 0 deletions