diff options
author | DukePyrolator <DukePyrolator@anope.org> | 2010-12-30 05:50:55 +0100 |
---|---|---|
committer | DukePyrolator <DukePyrolator@anope.org> | 2010-12-30 05:50:55 +0100 |
commit | 2784cd17fc5e0ee4ad0571a6b9e131fa38a93a65 (patch) | |
tree | 9978409f958f97d4932879c0d65363ec24b799d5 /modules/protocol/ratbox.cpp | |
parent | 292e1875246a6398cdc9f04ee91d7bb43dc40b45 (diff) | |
parent | 03cc9eb5c597e37239debac25a7ed6ad4f4d9411 (diff) |
Merge branch '1.9' of ssh://anope.git.sourceforge.net/gitroot/anope/anope into 1.9
Diffstat (limited to 'modules/protocol/ratbox.cpp')
-rw-r--r-- | modules/protocol/ratbox.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/modules/protocol/ratbox.cpp b/modules/protocol/ratbox.cpp index 914010b98..43debc78d 100644 --- a/modules/protocol/ratbox.cpp +++ b/modules/protocol/ratbox.cpp @@ -232,6 +232,11 @@ class RatboxProto : public IRCDProto send_cmd(Config->Numeric, "ENCAP * SU %s", u->GetUID().c_str()); } + void SendChannel(Channel *c, const Anope::string &modes) + { + send_cmd("", "SJOIN %ld %s %s :", static_cast<long>(c->creation_time), c->name.c_str(), modes.c_str()); + } + bool IsNickValid(const Anope::string &nick) { /* TS6 Save extension -Certus */ @@ -377,9 +382,6 @@ class RatboxIRCdMessage : public IRCdMessage { c->creation_time = ts; c->Reset(); - - /* Reset mlock */ - check_modes(c); } /* Their TS is newer than ours, our modes > theirs, unset their modes if need be */ else if (ts > c->creation_time) |