summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-27 03:08:39 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-27 03:08:39 +0000
commitc24c23f50c95051b13b4d712f7e54117a6886974 (patch)
treeee3ed348f34880bdc0431e4842af8307c031a081 /src/modules/m_spanningtree
parenta4b28b9eb4de947a2b638bfb32a12b777b302ec9 (diff)
Oops, don't forget to save UUID of remote clients
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7863 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree')
-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 0f9d17f68..4d94ed957 100644
--- a/src/modules/m_spanningtree/treesocket1.cpp
+++ b/src/modules/m_spanningtree/treesocket1.cpp
@@ -860,7 +860,7 @@ bool TreeSocket::ForceJoin(const std::string &source, std::deque<std::string> &p
usr++;
/* Check the user actually exists */
- who = this->Instance->FindNick(usr);
+ who = this->Instance->FindUUID(usr);
if (who)
{
/* Check that the user's 'direction' is correct */
@@ -980,6 +980,7 @@ bool TreeSocket::ParseUID(const std::string &source, std::deque<std::string> &pa
(*(this->Instance->clientlist))[tempnick] = _new;
_new->SetFd(FD_MAGIC_NUMBER);
strlcpy(_new->nick, tempnick, NICKMAX - 1);
+ strlcpy(_new->uuid, params[0].c_str(), UUID_LENGTH);
strlcpy(_new->host, params[3].c_str(),64);
strlcpy(_new->dhost, params[4].c_str(),64);
_new->server = this->Instance->FindServerNamePtr(source.c_str());