prefixPolicyMatches

Evaluates whether or not the message in an event satisfies the PrefixPolicy specified, as fetched from a IRCEventHandler.Command or IRCEventHandler.Regex UDA.

If it doesn't match, the IRCPluginImpl.onEventImpl routine shall consider the UDA as not matching and continue with the next one.

prefixPolicyMatches
(
bool verbose
)
(
ref IRCEvent event
,,)

Parameters

verbose

Whether or not to output verbose debug information to the local terminal.

event IRCEvent

Reference to the mutable IRCEvent we're considering.

policy PrefixPolicy

Policy to apply.

state IRCPluginState

The calling IRCPlugin's IRCPluginState.

Return Value

Type: auto

true if the message is in a context where the event matches the policy, false if not.

Meta