summaryrefslogtreecommitdiff
path: root/modules/protocol/plexus.cpp
diff options
context:
space:
mode:
authorDukePyrolator <DukePyrolator@anope.org>2010-12-30 05:50:55 +0100
committerDukePyrolator <DukePyrolator@anope.org>2010-12-30 05:50:55 +0100
commit2784cd17fc5e0ee4ad0571a6b9e131fa38a93a65 (patch)
tree9978409f958f97d4932879c0d65363ec24b799d5 /modules/protocol/plexus.cpp
parent292e1875246a6398cdc9f04ee91d7bb43dc40b45 (diff)
parent03cc9eb5c597e37239debac25a7ed6ad4f4d9411 (diff)
Merge branch '1.9' of ssh://anope.git.sourceforge.net/gitroot/anope/anope into 1.9
Diffstat (limited to 'modules/protocol/plexus.cpp')
-rw-r--r--modules/protocol/plexus.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/modules/protocol/plexus.cpp b/modules/protocol/plexus.cpp
index 9dddaebdb..f18dac52b 100644
--- a/modules/protocol/plexus.cpp
+++ b/modules/protocol/plexus.cpp
@@ -247,6 +247,11 @@ class PlexusProto : public IRCDProto
{
send_cmd(bi->GetUID(), "ENCAP * TOPIC %s %s %lu :%s", c->name.c_str(), c->topic_setter.c_str(), static_cast<unsigned long>(c->topic_time + 1), c->topic.c_str());
}
+
+ void SendChannel(Channel *c, const Anope::string &modes)
+ {
+ send_cmd(Config->Numeric, "SJOIN %ld %s %s :", static_cast<long>(c->creation_time), c->name.c_str(), modes.c_str());
+ }
};
class PlexusIRCdMessage : public IRCdMessage
@@ -357,9 +362,6 @@ class PlexusIRCdMessage : 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)