summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-04 16:21:15 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-04 16:21:15 +0000
commit6f653ddc347d3fc212d2795bdb83d6d74ef555a2 (patch)
tree3bd2a50bab00a49ebfdf41d49ee55e9c8dbe7e1d /src/modules
parentedac74f053a0a03a020870a2805c43c553b68723 (diff)
Nickname collisions were broken! :O
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5410 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_spanningtree.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index 302d963b1..4849d50c4 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -1818,6 +1818,7 @@ class TreeSocket : public InspSocket
// nick collision
Instance->Log(DEBUG,"Nick collision on %s!%s@%s: %lu %lu",tempnick,params[4].c_str(),params[2].c_str(),(unsigned long)age,(unsigned long)iter->second->age);
this->WriteLine(std::string(":")+this->Instance->Config->ServerName+" KILL "+tempnick+" :Nickname collision");
+ userrec::QuitUser(this->Instance, iter->second, "Nickname collision");
return true;
}