From 51b6cc4d3a2b3f4eabf14a8f229f56e35a83905a Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 30 Sep 2007 18:16:53 +0000 Subject: Users were also being attached to the wrong server names (by uid and not by server name) meaning that users werent being quit on squit. this was hampering my efforts to find an unrelated bug git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8103 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/treesocket1.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_spanningtree') diff --git a/src/modules/m_spanningtree/treesocket1.cpp b/src/modules/m_spanningtree/treesocket1.cpp index b954ade9b..cf3668acc 100644 --- a/src/modules/m_spanningtree/treesocket1.cpp +++ b/src/modules/m_spanningtree/treesocket1.cpp @@ -1081,7 +1081,7 @@ bool TreeSocket::ParseUID(const std::string &source, std::deque &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; -- cgit v1.2.3