Channel

Metadata for an IRC channel.

Constructors

this
this(string str)
Undocumented in source.
this
this(string str, string modePrefixes, string chanPrefixes)
Undocumented in source.

Members

Functions

toString
void toString(T sink)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

name
string name;

Examples

assert(Channel("#test").name == "#test");
assert(Channel("#test", "@%+", "#").name == "#test");
assert(Channel("+test", "@%+", "+").name == "+test");
assert(Channel("++test", "@%+", "+").name == "+test");
assert(Channel("@+test", "@%+", "#+").name == "+test");
assert(Channel("@+", "@%+", "#+").name == "+");
assert(Channel("+", "@%+", "#+").name == "+");

Meta