diff options
| author | Adam <Adam@anope.org> | 2010-12-29 23:12:26 -0500 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2010-12-29 23:12:26 -0500 |
| commit | 72b8f4609b147b9b9a222c14bfc4ae100cc7f250 (patch) | |
| tree | 3b5fde173f448176878036b2c718682d09f90188 /modules/protocol/inspircd-ts6.h | |
| parent | d36e53f702f6f166e862c88dd2399bef91e9d1d5 (diff) | |
Use empty SJOINs when allowed to create empty permanent channels
Diffstat (limited to 'modules/protocol/inspircd-ts6.h')
| -rw-r--r-- | modules/protocol/inspircd-ts6.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/protocol/inspircd-ts6.h b/modules/protocol/inspircd-ts6.h index 4146e27fc..18f046d76 100644 --- a/modules/protocol/inspircd-ts6.h +++ b/modules/protocol/inspircd-ts6.h @@ -230,6 +230,11 @@ class InspIRCdTS6Proto : public IRCDProto send_cmd(Config->Numeric, "METADATA %s accountname :", u->GetUID().c_str()); } + void SendChannel(Channel *c, const Anope::string &modes) + { + send_cmd(Config->Numeric, "FJOIN %s %ld %s :", c->name.c_str(), static_cast<long>(c->creation_time), modes.c_str()); + } + bool IsNickValid(const Anope::string &nick) { /* InspIRCd, like TS6, uses UIDs on collision, so... */ |
