summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-16 12:47:41 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-16 12:47:41 +0000
commit9b78e250567982e23116537d94d7c17b16c5de82 (patch)
treea600047db50d30c4b89a329b38b06e4882074cb4
parent8bc8dc92e44bd371872b159ac5583b6788a8110d (diff)
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
-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 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