diff options
Diffstat (limited to 'src/modules/m_spanningtree.cpp')
-rw-r--r-- | src/modules/m_spanningtree.cpp | 6 |
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(); |