ae.net.irc.server

A simple IRC server.

Members

Aliases

normalized
alias normalized = rfc1459toUpper

The method used when normalizing user and channel names for lookup.

Classes

IrcServer
class IrcServer

IRC server.

Functions

ircSplit
string[] ircSplit(string line)

Split an IRC line into parameters.

maskMatch
bool maskMatch(string subject, string mask)

Check if the given string matches the given mask (e.g. when enforcing +b modes).

safeHostname
string safeHostname(string s)

Encode a host name to be sent in a WHO / WHOIS reply.

Mixin templates

CommonModes
mixintemplate CommonModes()

Common declarations for ChannelModes and UserModes.

Structs

ChannelModes
struct ChannelModes

Encodes static information about channel modes supported by this module.

Modes
struct Modes

Represents channel modes.

UserModes
struct UserModes

Encodes static information about user modes supported by this module.

Meta

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Authors

Vladimir Panteleev <ae@cy.md>