modifyHostmaskDefinition

Adds or removes hostmasks used to identify users on servers that don't employ services.

version(WithAdminPlugin)
package
void
modifyHostmaskDefinition
(,
const bool add
,
const string account
,
const string mask
,
const ref IRCEvent event
)

Parameters

plugin AdminPlugin

The current AdminPlugin.

add bool

Whether to add or to remove the hostmask.

account string

Account the hostmask will equate to. May be empty if add is false.

mask string

String "nickname!ident@address.tld" hostmask.

event IRCEvent

Instigating IRCEvent.