Open kashike opened 8 years ago
02:31:12 @mbaxter | Maybe more static methods for like, just matching hostname
02:31:35 @mbaxter | or account ($a:account) and other extbans things
(19:38:02) <+Zarthus> Sort of a cross comment between #130 and #122,
(19:38:02) <+Zarthus> But not every ban is a mask. Example: $a:account
(19:38:48) <@mbaxter> It's kinda like a mask! :3
(19:39:11) <+Zarthus> I think you're currently converting every ban into a mask, but #130 seems to mostly go in to the direction of "each ban has at least ! and @"
Closing the following PRs, with the hope of using them later under a separate PR:
https://github.com/KittehOrg/KittehIRCClientLib/pull/136 https://github.com/KittehOrg/KittehIRCClientLib/pull/207
The PR would come from this branch: https://github.com/KittehOrg/KittehIRCClientLib/commits/maskTakeThree
*!*@*
*!*@kitten.institute
*!~mbax@hostname
mbaxter!*@kitten.institute
mbaxter!~mbax@kitten.institute
kashike!kashike@is.a.miserable.ninja
of(String, String, String)
Optional<String> getNick()
Optional<String> getIdent()
Optional<String> getHostname()
test(User)
(Predicate<User>
)User
matches thisMask
Collection<User> getMatches(Channel)
Collection
ofUser
s in the specifiedChannel
which match thisMask