swh:1:snp:634d2b8906a7a2f6511ccb358da84e19b290d2c9
Revision d308329461d4c66bd9ef76e981f11428134ba6bb authored by Valentin Lorentz on 16 July 2021, 17:50:12 UTC, committed by Valentin Lorentz on 16 July 2021, 17:50:13 UTC
nickFromHostmask now (legitimately) complains when it's getting @ or !
at the beginning of a hostmask; so we need to strip them before passing
it to nickFromHostmask.

Then re-add them before calling c.addUser, because it uses them to
sort users in the right sets (ops/halfops/voices).

Additionally, this commit replaces the hardcoded set of prefix chars
(`@%+&~!`) with the one advertised in ISUPPORT when possible.
1 parent aa6bd72
History
Tip revision: 35bf5998564eda288ca4ee86e0fa45b28c64d7ba authored by Valentin Lorentz on 20 September 2022, 05:51:46 UTC
utils/web: Add <br/> to the list of block elements
Tip revision: 35bf599
File Mode Size
.github
locales
man
plugins
sandbox
scripts
src
test
.gitattributes -rw-r--r-- 42 bytes
.gitignore -rw-r--r-- 403 bytes
.mailmap -rw-r--r-- 1.8 KB
CONTRIBUTING.md -rw-r--r-- 1.3 KB
ChangeLog -rw-r--r-- 69.0 KB
LICENSE.md -rw-r--r-- 1.6 KB
MANIFEST.in -rw-r--r-- 117 bytes
Makefile -rw-r--r-- 983 bytes
README.md -rw-r--r-- 2.6 KB
RELNOTES -rw-r--r-- 16.1 KB
pyproject.toml -rw-r--r-- 91 bytes
requirements.txt -rw-r--r-- 101 bytes
setup.py -rw-r--r-- 9.4 KB
supybot l--------- 3 bytes

README.md

back to top