]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
We were already sending FMODE +nt after each channel creation to keep services happy...
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 27 May 2007 12:05:23 +0000 (12:05 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 27 May 2007 12:05:23 +0000 (12:05 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7164 e03df62e-2008-0410-955e-edbf42e46eb7

src/modules/m_spanningtree/main.cpp

index fc622753150a67c3e41cdd1ec351dc244ecb619b..40d1bbcde6865dba85734fe578c848d841f8dba8 100644 (file)
@@ -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