3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-01 01:09:22 +01:00
PyLink/plugins
James Lu c5b6658200 bots: more validation in "MODE" to prevent bad things from happening
This adds a new "allow_forceset_usermodes" attribute to protocol modules, which determines whether the IRCd allows us to force usermode changes on other servers' clients.

Also, make sure our target is a valid nick/UID/channel, and that the parsed modes are not empty!
2015-09-14 17:46:20 -07:00
..
bots.py bots: more validation in "MODE" to prevent bad things from happening 2015-09-14 17:46:20 -07:00
commands.py move utils.msg() => classes.Irc.msg() 2015-09-06 22:23:44 -07:00
exec.py move utils.msg() => classes.Irc.msg() 2015-09-06 22:23:44 -07:00
networks.py move utils.msg() => classes.Irc.msg() 2015-09-06 22:23:44 -07:00
relay.py relay: don't fail if oldchan is not given in MODE 2015-09-14 17:36:41 -07:00