From 9b78e250567982e23116537d94d7c17b16c5de82 Mon Sep 17 00:00:00 2001 From: w00t Date: Fri, 16 Nov 2007 12:47:41 +0000 Subject: Minor change: Add + to FMODE on creation of a new channel. This makes all FMODE consistant, and also clarifies what's going on for authors of third party apps. It's just one character too, so not a big deal :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8598 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp index 3c9a9803e..6a629b803 100644 --- a/src/modules/m_spanningtree/main.cpp +++ b/src/modules/m_spanningtree/main.cpp @@ -574,7 +574,7 @@ void ModuleSpanningTree::OnUserJoin(User* user, Channel* channel, bool sync, boo Utils->DoOneToMany(ServerInstance->Config->GetSID(),"FJOIN",params); /* First user in, sync the modes for the channel */ params.pop_back(); - params.push_back(channel->ChanModes(true)); + params.push_back(std::string("+") + channel->ChanModes(true)); Utils->DoOneToMany(ServerInstance->Config->GetSID(),"FMODE",params); } else -- cgit v1.2.3