]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Users were also being attached to the wrong server names (by uid and not by server...
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 30 Sep 2007 18:16:53 +0000 (18:16 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 30 Sep 2007 18:16:53 +0000 (18:16 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8103 e03df62e-2008-0410-955e-edbf42e46eb7

src/modules/m_spanningtree/treesocket1.cpp

index b954ade9bfd1e662720e499abf9b4f8310c8de23..cf3668accccc67a8c4c45ea2610e7bfe7306f129 100644 (file)
@@ -1081,7 +1081,7 @@ bool TreeSocket::ParseUID(const std::string &source, std::deque<std::string> &pa
        strlcpy(_new->nick, tempnick, NICKMAX - 1);
        strlcpy(_new->host, params[3].c_str(),64);
        strlcpy(_new->dhost, params[4].c_str(),64);
-       _new->server = this->Instance->FindServerNamePtr(source.c_str());
+       _new->server = this->Instance->FindServerNamePtr(remoteserver->GetName().c_str());
        strlcpy(_new->ident, params[5].c_str(),IDENTMAX);
        strlcpy(_new->fullname, params[9].c_str(),MAXGECOS);
        _new->registered = REG_ALL;