]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
...and remember the parameters ;)
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 27 May 2007 12:06:23 +0000 (12:06 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 27 May 2007 12:06:23 +0000 (12:06 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7165 e03df62e-2008-0410-955e-edbf42e46eb7

src/modules/m_spanningtree/main.cpp

index 40d1bbcde6865dba85734fe578c848d841f8dba8..ea01bb2c52eb7df44730f0e2d0e9d26346ea2380 100644 (file)
@@ -907,7 +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();
-                       params.push_back(channel->ChanModes());
+                       params.push_back(channel->ChanModes(true));
                        Utils->DoOneToMany(ServerInstance->Config->ServerName,"FMODE",params);
                }
                else