changeset 27:2b79c0df1e69 noffle

[svn] Do not put server name in brackets if group is local.
author enz
date Sat, 29 Apr 2000 15:49:13 +0100
parents 526a4c34ee2e
children 876ac671a2aa
files group.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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 );