[hybrid-commits] svnroot commit: ircd-hybrid/trunk/modules/core m_nick.c

Michael Wobst michael at svn.ircd-hybrid.org
Tue Mar 18 15:48:30 EDT 2014


michael     2014-03-18 15:48:30 -0400 (Tue, 18 Mar 2014)

  Modified files:
    ircd-hybrid/trunk/modules/core m_nick.c 
  Log:
  - m_nick.c:perform_nick_collides(): incorporate Adam's "Send kills due to nick collisions back to the source."
  changes. Original commit message:
  
  Send kills due to nick collisions back to the source.
  
  This fixes a race condition with users changing hosts and then nick
  colliding which causes servers to disagree on whether or not the
  colliding users are the same user.
  
  With this patch if this happens both users are killed instead, even if
  their timestamps differ.
  
  The proper way to fix this is to compare a 'real host', which we do not
  store, or IP.
  
  With TS5 and prior we could not do this because the KILLs would be
  targeting nicks and not UIDs, which would not work as both sides would
  always lose, but we can do this now as the other side can safely drop
  the KILL for a nonexistant UID if the servers do agree.
  
  Revision  Changes    Path
  3175      +3 -7      ircd-hybrid/trunk/modules/core/m_nick.c
http://svn.ircd-hybrid.org:8000/viewcvs.cgi/ircd-hybrid/trunk/modules/core/m_nick.c?rev=3175&r1=3174&r2=3175&diff_format=h



More information about the hybrid-commits mailing list