summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-11-30 13:36:45 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-11-30 13:36:45 +0000
commit329f5301c88d6be885f2232414a60eb4ec77a563 (patch)
tree1c8b51c3622ab41166a4b30369442c63024877b3 /src/modules/m_spanningtree.cpp
parenteacee66e2c4c0879dda7cf67641ca889d1b39870 (diff)
ARGH, TS
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2054 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree.cpp')
-rw-r--r--src/modules/m_spanningtree.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index f712bf8e3..ec34da6ed 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -562,8 +562,10 @@ class TreeSocket : public InspSocket
{
// nick collision
log(DEBUG,"Nick collision on %s!%s@%s: %lu %lu",tempnick,ident.c_str(),host.c_str(),(unsigned long)age,(unsigned long)iter->second->age);
- Srv->QuitUser(iter->second,"Killed (Nickname collision from "+source+")");
- return true;
+ if (age > iter->second->age)
+ {
+ Srv->QuitUser(iter->second,"Killed (Nickname collision from "+source+")");
+ }
}
clientlist[tempnick] = new userrec();