virc.modes

Module for parsing IRC mode strings.

Members

Enums

Change
enum Change

Whether a mode was set or unset.

ModeType
enum ModeType

Mode classification.

Functions

parseModeString
auto parseModeString(string input, ModeType[char] channelModeTypes)

Parse a mode string into individual mode changes.

parseModeString
auto parseModeString(T input, ModeType[char] channelModeTypes)

Parse a mode string into individual mode changes.

toModeString
string toModeString(ModeChange[] changes)
Undocumented in source. Be warned that the author may not have intended to support it.
toModeStringLazy
auto toModeStringLazy(ModeChange[] changes)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Mode
struct Mode

IRC modes. These are settings for channels and users on an IRC network, responsible for things ranging from user bans, flood control and colour stripping to registration status. Consists of a single character and (often) an argument string to go along with it.

ModeChange
struct ModeChange

Full metadata associated with a mode change.

Meta