summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-28 15:35:59 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-28 15:35:59 +0000
commitf9f173dbb3b334401f580e8d4dbbb8947dc8af4f (patch)
treedeb112581729b955e9e96f894db16627a1358259 /src
parentd3f9aa0443fdf979bd03f6c559066f2fb5842c2b (diff)
Hmm. We shouldn't use FindNick here, as that will find on UID, which while it should not be a problem, might be.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7949 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_spanningtree/treesocket2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/treesocket2.cpp b/src/modules/m_spanningtree/treesocket2.cpp
index 17477a016..a8451610f 100644
--- a/src/modules/m_spanningtree/treesocket2.cpp
+++ b/src/modules/m_spanningtree/treesocket2.cpp
@@ -1489,7 +1489,7 @@ bool TreeSocket::ProcessLine(std::string &line)
* already exist here. If it does, kill their copy,
* and our copy.
*/
- userrec* x = this->Instance->FindNick(params[0]);
+ userrec* x = this->Instance->FindNickOnly(params[0]);
if ((x) && (x != who))
{
/* x is local, who is remote */