3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-25 04:02:45 +01:00
PyLink/plugins
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
antispam.py antispam: add a workaround for clientbot support (#359) 2018-04-14 11:40:19 -07:00
automode.py automode: clarify comments to main() slightly 2018-05-09 21:29:20 -07:00
bots.py bots: don't allow 'spawnclient' on protocols where it is stubbed 2017-12-22 12:28:27 -08:00
changehost.py Add User.get_fields(), and rework plugins to fix $nick broken expansions 2018-05-26 02:12:38 -07:00
commands.py commands.showuser: show home server and TS as "N/A" if they are spoofed values 2018-05-26 01:14:32 -07:00
ctcp.py ctcp: fix wrong logging format for unknown CTCPs 2018-03-01 02:48:04 -05:00
example.py example, relay_cb: migrate to irc.is_channel 2017-08-30 21:22:19 -07:00
exec.py core: implement text wrapping in irc.msg() 2018-05-11 14:38:21 -07:00
fantasy.py Replace use of conf.conf['bot'] with conf.conf['pylink'] 2018-02-18 23:26:39 -08:00
games.py plugins, coremods: migrate (un)registerService calls to snake case (#523) 2018-03-02 20:23:47 -08:00
global.py global: ignore empty "global:" configuration blocks 2017-11-06 12:07:33 -08:00
networks.py networks.remote: properly error if the target service is not available on the target network 2018-05-10 16:06:16 -07:00
opercmds.py opercmds: forbid killing the main PyLink client 2018-05-21 02:37:53 -07:00
raw.py Split the 'raw' command into a new plugin 2018-01-21 13:50:37 -08:00
relay_clientbot.py relay_cb: bandaid fix to prevent STATUSMSG messages from being interpreted as non-channel specific 2018-03-10 19:54:33 -08:00
relay.py Move U:line checking into core as PyLinkNCWUtils.is_privileged_server() 2018-05-26 00:14:04 -07:00
servermaps.py servermaps: show the uplink server name for Clientbot links 2018-03-07 22:28:34 -08:00
servprotect.py Merge branch 'master' into devel 2017-08-05 22:11:22 -07:00
stats.py stats: route permission error replies to notice and not privmsg 2018-03-04 12:11:50 -08:00