summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-27 12:05:23 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-27 12:05:23 +0000
commitcd7657bddc7a6dc2e7326077d173a874bf71f6bd (patch)
treeff7167a5386287614a72b8ae2b7b13872d2326e5
parent4a50237d63ae019fbfaf0901ef59a772e66080df (diff)
We were already sending FMODE +nt after each channel creation to keep services happy, just change this to send the servers default modes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7164 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_spanningtree/main.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp
index fc6227531..40d1bbcde 100644
--- a/src/modules/m_spanningtree/main.cpp
+++ b/src/modules/m_spanningtree/main.cpp
@@ -907,8 +907,7 @@ void ModuleSpanningTree::OnUserJoin(userrec* user, chanrec* channel, bool &silen
Utils->DoOneToMany(ServerInstance->Config->ServerName,"FJOIN",params);
/* First user in, sync the modes for the channel */
params.pop_back();
- /* This is safe, all inspircd servers default to +nt */
- params.push_back("+nt");
+ params.push_back(channel->ChanModes());
Utils->DoOneToMany(ServerInstance->Config->ServerName,"FMODE",params);
}
else