summaryrefslogtreecommitdiffstats
path: root/src/modules/m_spanningtree/treesocket1.cpp
diff options
context:
space:
mode:
authorGravatar brain2007-03-10 18:18:33 +0000
committerGravatar brain2007-03-10 18:18:33 +0000
commit8b1aaa70fadab49c41f2d14cf61f2cf74e878efb (patch)
tree60dd4a844c09d2f2cbfefa703bfc916a2f1d5a5f /src/modules/m_spanningtree/treesocket1.cpp
parentMove FJOIN propogation above the FMODEs generated by winning an FJOIN (diff)
downloadinspircd++-8b1aaa70fadab49c41f2d14cf61f2cf74e878efb.tar.gz
inspircd++-8b1aaa70fadab49c41f2d14cf61f2cf74e878efb.tar.bz2
inspircd++-8b1aaa70fadab49c41f2d14cf61f2cf74e878efb.zip
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/modules/m_spanningtree/treesocket1.cpp')
-rw-r--r--src/modules/m_spanningtree/treesocket1.cpp3
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 */