# HG changeset patch # User enz # Date 957515224 -3600 # Node ID bc79bd13009808ec9598400673dd347b8ac40151 # Parent 2c9ea1ffcc88e0b3b8e96c711d93b891b6f53f98 [svn] Do not return local server name in brackets. diff -r 2c9ea1ffcc88 -r bc79bd130098 group.c --- a/group.c Fri May 05 09:26:29 2000 +0100 +++ b/group.c Fri May 05 09:27:04 2000 +0100 @@ -7,7 +7,7 @@ loadGrp() and saveGrp(). This is done transparently. Access to the groups database is done by group name, by the functions defined in group.h. - $Id: group.c 44 2000-05-05 07:23:15Z enz $ + $Id: group.c 46 2000-05-05 08:27:04Z enz $ */ #include "group.h" @@ -204,7 +204,8 @@ if ( ! loadGrp( name ) ) return "[unknown grp]"; - if ( Cfg_servListContains( grp.serv ) ) + if ( Cfg_servListContains( grp.serv ) + || Grp_local( name ) ) Utl_cpyStr( serv, grp.serv ); else snprintf( serv, MAXCHAR, "[%s]", grp.serv );