3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-24 19:52:53 +01:00
PyLink/protocols
James Lu f20fa5e995 Add User.get_fields(), and rework plugins to fix $nick broken expansions
User.nick is no longer a writable attribute since a085aed924, so it won't show up in __dict__ now.

get_fields() replaces the User.__dict__ hack various plugins used and also provides some new expansion variables:
- $sid and $server expand to the server ID and name respectively
- $modes and $channels are now preformatted strings
- $netname expands to the network name

$manipulatable and $_irc were removed since their values aren't quite meaningful as strings
2018-05-26 02:12:38 -07:00
..
__init__.py Make plugins/ and protocols/ namespaces 2016-07-20 23:55:26 -07:00
clientbot.py Add User.get_fields(), and rework plugins to fix $nick broken expansions 2018-05-26 02:12:38 -07:00
hybrid.py Replace use of conf.conf['bot'] with conf.conf['pylink'] 2018-02-18 23:26:39 -08:00
inspircd.py inspircd: remove users from the state immediately when sending a kill 2018-05-21 00:33:13 -07:00
ircs2s_common.py core: move clearing channels on kick/part to coremods/handlers 2018-04-07 22:44:00 -07:00
nefarious.py classes, protocols: convert self.irc usage to self 2017-06-25 02:09:52 -07:00
ngircd.py protocols: migrate utils.wrapArguments, splitHostmask use to camel case (#523) 2018-03-02 20:23:47 -08:00
p10.py protocols: migrate utils.wrapArguments, splitHostmask use to camel case (#523) 2018-03-02 20:23:47 -08:00
ts6_common.py Replace use of conf.conf['bot'] with conf.conf['pylink'] 2018-02-18 23:26:39 -08:00
ts6.py protocols: migrate utils.wrapArguments, splitHostmask use to camel case (#523) 2018-03-02 20:23:47 -08:00
unreal.py protocols: migrate utils.wrapArguments, splitHostmask use to camel case (#523) 2018-03-02 20:23:47 -08:00