[hybrid-commits] svnroot commit: ircd-hybrid/branches/8.1.x/include client.h hostmask.h ircd-hybrid/branches/8.1.x/modules m_gline.c m_kline.c ircd-hybrid/branches/8.1.x/src client.c hostmask.c

Michael Wobst michael at svn.ircd-hybrid.org
Tue Jan 14 13:10:11 EST 2014


michael     2014-01-14 13:10:10 -0500 (Tue, 14 Jan 2014)

  Modified files:
    ircd-hybrid/branches/8.1.x/src client.c hostmask.c 
  Log:
  - Greatly speedup k-/g-line lookup. Instead of testing every single client against
  every single k-/g-line just check the just added ban against connected clients.
  - Renamed ban_them() to conf_try_ban()
  - conf_try_ban() removed exemption notices that are now redundant
  - hostmask.c:parse_netmask(): optimize for the ipv4 case
  
  Revision  Changes    Path
  2815      +3 -0      ircd-hybrid/branches/8.1.x/include/client.h
http://svn.ircd-hybrid.org:8000/viewcvs.cgi/ircd-hybrid/branches/8.1.x/include/client.h?rev=2815&r1=2814&r2=2815&diff_format=h
  2815      +1 -1      ircd-hybrid/branches/8.1.x/include/hostmask.h
http://svn.ircd-hybrid.org:8000/viewcvs.cgi/ircd-hybrid/branches/8.1.x/include/hostmask.h?rev=2815&r1=2814&r2=2815&diff_format=h
  2815      +36 -2     ircd-hybrid/branches/8.1.x/modules/m_gline.c
http://svn.ircd-hybrid.org:8000/viewcvs.cgi/ircd-hybrid/branches/8.1.x/modules/m_gline.c?rev=2815&r1=2814&r2=2815&diff_format=h
  2815      +36 -2     ircd-hybrid/branches/8.1.x/modules/m_kline.c
http://svn.ircd-hybrid.org:8000/viewcvs.cgi/ircd-hybrid/branches/8.1.x/modules/m_kline.c?rev=2815&r1=2814&r2=2815&diff_format=h
  2815      +24 -25    ircd-hybrid/branches/8.1.x/src/client.c
http://svn.ircd-hybrid.org:8000/viewcvs.cgi/ircd-hybrid/branches/8.1.x/src/client.c?rev=2815&r1=2814&r2=2815&diff_format=h
  2815      +5 -3      ircd-hybrid/branches/8.1.x/src/hostmask.c
http://svn.ircd-hybrid.org:8000/viewcvs.cgi/ircd-hybrid/branches/8.1.x/src/hostmask.c?rev=2815&r1=2814&r2=2815&diff_format=h



More information about the hybrid-commits mailing list