diff options
author | DukePyrolator <DukePyrolator@anope.org> | 2013-05-12 11:09:34 +0200 |
---|---|---|
committer | DukePyrolator <DukePyrolator@anope.org> | 2013-05-12 11:09:34 +0200 |
commit | 4237d49d41caca771b9d82439b4ce145f151b504 (patch) | |
tree | 00168b476b2f81a7dc38649a356cc7c69eda431e /src | |
parent | 1c36de5ab150d43b9caf377a409d71f857288509 (diff) |
improved handling of mlocks and topiclocks on inspircd
Diffstat (limited to 'src')
-rw-r--r-- | src/messages.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/messages.cpp b/src/messages.cpp index ed601a206..1c7b956d1 100644 --- a/src/messages.cpp +++ b/src/messages.cpp @@ -147,7 +147,9 @@ void Join::SJoin(MessageSource &source, const Anope::string &chan, time_t ts, co { c->Shrink("SYNCING"); /* Sync the channel (mode lock, topic, etc) */ - c->Sync(); + /* the channel is synced when the netmerge is complete */ + if (Me && Me->IsSynced()) + c->Sync(); } } |