3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-01 01:09:22 +01:00
PyLink/protocols
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
..
inspircd.py bots: more validation in "MODE" to prevent bad things from happening 2015-09-14 17:46:20 -07:00
ts6_common.py ts6_common: make old topic retrievable in handle_topic 2015-09-13 14:23:09 -07:00
ts6.py protocols: return an "oldchan" IrcChannel object with the previous state of a channel when processing channel mode changes 2015-09-13 13:47:18 -07:00