comparison src/client.c @ 215:7a2b488e258d noffle

[svn] Bugfix at processGrps()
author mirkol
date Thu, 22 Nov 2001 15:35:54 +0000
parents 24d4cd032da5
children ffb1848a39db
comparison
equal deleted inserted replaced
214:beb6525f8b44 215:7a2b488e258d
1 /* 1 /*
2 client.c 2 client.c
3 3
4 $Id: client.c 316 2001-10-31 11:44:53Z bears $ 4 $Id: client.c 334 2001-11-22 15:35:54Z mirkol $
5 */ 5 */
6 6
7 #if HAVE_CONFIG_H 7 #if HAVE_CONFIG_H
8 #include <config.h> 8 #include <config.h>
9 #endif 9 #endif
480 Grp_setPostAllow( grp, postAllow ); 480 Grp_setPostAllow( grp, postAllow );
481 groupupdate = TRUE; 481 groupupdate = TRUE;
482 } 482 }
483 else 483 else
484 { 484 {
485 if ( Cfg_servIsPreferential( client.serv, Grp_server( grp ) ) ) 485 if ( ! Grp_local( grp ) && \
486 Cfg_servIsPreferential( client.serv, Grp_server( grp ) ) )
486 { 487 {
487 Log_inf( "Changing server for '%s': '%s'->'%s'", 488 Log_inf( "Changing server for '%s': '%s'->'%s'",
488 grp, Grp_server( grp ), client.serv ); 489 grp, Grp_server( grp ), client.serv );
489 Grp_setServ( grp, client.serv ); 490 Grp_setServ( grp, client.serv );
490 Grp_setRmtNext( grp, first ); 491 Grp_setRmtNext( grp, first );