changeset 215:7a2b488e258d noffle

[svn] Bugfix at processGrps()
author mirkol
date Thu, 22 Nov 2001 15:35:54 +0000
parents beb6525f8b44
children a652fc5b7ced
files src/client.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/client.c	Thu Nov 22 12:05:40 2001 +0000
+++ b/src/client.c	Thu Nov 22 15:35:54 2001 +0000
@@ -1,7 +1,7 @@
 /*
   client.c
 
-  $Id: client.c 316 2001-10-31 11:44:53Z bears $
+  $Id: client.c 334 2001-11-22 15:35:54Z mirkol $
 */
 
 #if HAVE_CONFIG_H
@@ -482,7 +482,8 @@
         }
         else
         {
-            if ( Cfg_servIsPreferential( client.serv, Grp_server( grp ) ) )
+            if ( ! Grp_local( grp ) && \
+                Cfg_servIsPreferential( client.serv, Grp_server( grp ) ) )
             {
                 Log_inf( "Changing server for '%s': '%s'->'%s'",
                          grp, Grp_server( grp ), client.serv );