From cd7657bddc7a6dc2e7326077d173a874bf71f6bd Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 27 May 2007 12:05:23 +0000 Subject: 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 --- src/modules/m_spanningtree/main.cpp | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3