diff options
| author | 2010-03-04 10:39:47 -0600 | |
|---|---|---|
| committer | 2010-08-03 17:32:38 -0400 | |
| commit | 4351678065e1e0f2bb5cf3c7eb7e2f17b6470833 (patch) | |
| tree | c9fccb8db746baaece66399388748da2a351ca15 /src/modules/m_spanningtree/main.cpp | |
| parent | Drop useless default OnModeChange handler (diff) | |
Add RESYNC command to allow automatic recovery from a detected desync
Diffstat (limited to 'src/modules/m_spanningtree/main.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/main.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp index 365b33d55..acd0e180e 100644 --- a/src/modules/m_spanningtree/main.cpp +++ b/src/modules/m_spanningtree/main.cpp @@ -611,9 +611,7 @@ void ModuleSpanningTree::OnUserJoin(Membership* memb, bool sync, bool created, C // new joining permissions for the user. params.push_back(memb->chan->name); params.push_back(ConvToStr(memb->chan->age)); - irc::modestacker ms; - memb->chan->ChanModes(ms, MODELIST_SHORT); - params.push_back(ms.popModeLine(FORMAT_NETWORK, 400, INT_MAX)); + params.push_back("*"); params.push_back(memb->modes+","+std::string(memb->user->uuid)); Utils->DoOneToMany(ServerInstance->Config->GetSID(),"FJOIN",params); } |
