# HG changeset patch # User enz # Date 957019753 -3600 # Node ID 2b79c0df1e692d910e6633f1d8f54d88b1578b7e # Parent 526a4c34ee2e7a32c3411a2de3553abd393c9ce1 [svn] Do not put server name in brackets if group is local. diff -r 526a4c34ee2e -r 2b79c0df1e69 group.c --- a/group.c Sat Apr 29 15:45:56 2000 +0100 +++ b/group.c Sat Apr 29 15:49:13 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 32 2000-04-29 14:45:56Z enz $ + $Id: group.c 33 2000-04-29 14:49:13Z enz $ */ #include "group.h" @@ -175,7 +175,7 @@ if ( ! loadGrp( name ) ) return "[unknown grp]"; - if ( Cfg_servListContains( grp.serv ) ) + if ( Grp_local( name ) || Cfg_servListContains( grp.serv ) ) Utl_cpyStr( serv, grp.serv ); else snprintf( serv, MAXCHAR, "[%s]", grp.serv );