3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-01 17:29:21 +01:00
Commit Graph

16 Commits

Author SHA1 Message Date
James Lu
ba649fb8b4 utils, exttargets: add checks for channel presence 2017-08-25 02:31:26 -07:00
James Lu
2ff0007e56 exttargets: add $realname target 2017-08-06 21:41:44 -07:00
James Lu
7d68c03101 various: convert sortPrefixes/getPrefixModes calls to snake case 2017-06-30 21:40:05 -07:00
James Lu
10bca676fc coremods, plugins: migrate to snake case 2017-06-29 23:01:39 -07:00
James Lu
1358fedca6 exttargets: add $and exttarget (#334) 2017-05-04 18:00:32 -07:00
James Lu
dbeacf9249 exttargets: add a $network target (#334) 2017-05-04 17:16:50 -07:00
James Lu
1ef89560e2 core: rename IrcUser.identified attribute to IrcUser.account 2016-07-29 20:16:05 -07:00
James Lu
f51a882d23 exttargets: verify target is in channel before calling getPrefixModes 2016-07-17 10:49:42 -07:00
James Lu
14b30b26c0 exttargets: $pylinkacc matcher
Closes #170.
2016-07-07 12:10:09 -07:00
James Lu
1cec67725a exttargets: add $channel matcher (#170) 2016-07-07 12:00:23 -07:00
James Lu
1a8976afb6 exttargets: add $server matcher (#170) 2016-07-07 11:26:11 -07:00
James Lu
7dda8ebe58 exttargets: add $ircop matcher (#170) 2016-07-07 11:18:06 -07:00
James Lu
724ab0a45e exttargets: match account names case insensitively 2016-07-07 11:18:06 -07:00
James Lu
3e28856944 exttargets: fix typo in comment 2016-07-07 00:41:31 -07:00
James Lu
c034877d04 exttargets: $account scenario 3 matching should require logged in status 2016-07-07 00:29:52 -07:00
James Lu
183a4cbd75 core: add extban support in matchHost, and $account matching (#170)
The following forms are supported in $account, with groups separated by a
literal colon. All account and network name matching is currently case sensitive:

$account -> Returns True (a match) if the target is registered.
$account:accountname -> Returns True if the target's account name matches the one given, and the target is connected to the local network..
$account:accountname:netname -> Returns True if both the target's account name and origin network name match the ones given.
$account:*:netname -> Matches all logged in users on the given network.
2016-07-07 00:26:52 -07:00