]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Whoops, fix a silly bug i just introduced :p
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sat, 10 Mar 2007 18:18:33 +0000 (18:18 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sat, 10 Mar 2007 18:18:33 +0000 (18:18 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6649 e03df62e-2008-0410-955e-edbf42e46eb7

src/modules/m_spanningtree/treesocket1.cpp

index dbbe865b108e83245c370cf909acd30293de9bd3..f0fd0e1ef283852fb2e35d1e6ddc4509414ab37e 100644 (file)
@@ -628,6 +628,7 @@ bool TreeSocket::ForceJoin(const std::string &source, std::deque<std::string> &p
        userrec* who = NULL;                /* User we are currently checking */
        std::string channel = params[0];        /* Channel name, as a string */
        time_t TS = atoi(params[1].c_str());    /* Timestamp given to us for remote side */
+       std::string nicklist = params[2];
        bool created = false;
 
        /* Try and find the channel */
@@ -676,7 +677,7 @@ bool TreeSocket::ForceJoin(const std::string &source, std::deque<std::string> &p
                }
        }
        /* Put the final parameter of the FJOIN into a tokenstream ready to split it */
-       irc::tokenstream users(params[2]);
+       irc::tokenstream users(nicklist);
        std::string item = "*";
 
        /* Now, process every 'prefixes,nick' pair */