[srvx-commits] CVS: services/src nickserv.c,1.253,1.254
Brought to you by:
entrope
From: Adrian D. <sai...@us...> - 2003-08-07 12:52:13
|
Update of /cvsroot/srvx/services/src In directory sc8-pr-cvs1:/tmp/cvs-serv3855 Modified Files: nickserv.c Log Message: Fix crash during auth Index: nickserv.c =================================================================== RCS file: /cvsroot/srvx/services/src/nickserv.c,v retrieving revision 1.253 retrieving revision 1.254 diff -C2 -r1.253 -r1.254 *** nickserv.c 6 Aug 2003 17:40:11 -0000 1.253 --- nickserv.c 7 Aug 2003 12:52:10 -0000 1.254 *************** *** 1459,1465 **** for (n=0; n<failpw_func_used; n++) failpw_func_list[n](user, hi); if (nickserv_conf.autogag_enabled) { ! if (user->auth_policer.params) { user->auth_policer.last_req = now; ! user->auth_policer.params = nickserv_conf.auth_policer_params, now; } if (!policer_conforms(&user->auth_policer, now, 1.0)) { --- 1459,1465 ---- for (n=0; n<failpw_func_used; n++) failpw_func_list[n](user, hi); if (nickserv_conf.autogag_enabled) { ! if (!user->auth_policer.params) { user->auth_policer.last_req = now; ! user->auth_policer.params = nickserv_conf.auth_policer_params; } if (!policer_conforms(&user->auth_policer, now, 1.0)) { |