summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/m_spanningtree/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp
index de149e473..82b05d848 100644
--- a/src/modules/m_spanningtree/main.cpp
+++ b/src/modules/m_spanningtree/main.cpp
@@ -577,7 +577,7 @@ void ModuleSpanningTree::OnUserJoin(User* user, Channel* channel, bool sync, boo
params.push_back(channel->name);
params.push_back(ConvToStr(channel->age));
params.push_back(std::string("+") + channel->ChanModes(true));
- params.push_back(std::string(channel->GetAllPrefixChars(user))+","+std::string(user->uuid));
+ params.push_back(ServerInstance->Modes->ModeString(user, channel, false)+","+std::string(user->uuid));
Utils->DoOneToMany(ServerInstance->Config->GetSID(),"FJOIN",params);
}
else