summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */