diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-03-10 18:18:33 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-03-10 18:18:33 +0000 |
commit | 8b1aaa70fadab49c41f2d14cf61f2cf74e878efb (patch) | |
tree | 60dd4a844c09d2f2cbfefa703bfc916a2f1d5a5f /src | |
parent | e31d17e28ee3933c44d3882fa75a26582f04016a (diff) |
Whoops, fix a silly bug i just introduced :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6649 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_spanningtree/treesocket1.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/treesocket1.cpp b/src/modules/m_spanningtree/treesocket1.cpp index dbbe865b1..f0fd0e1ef 100644 --- a/src/modules/m_spanningtree/treesocket1.cpp +++ b/src/modules/m_spanningtree/treesocket1.cpp @@ -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 */ |