changeset 40:bc79bd130098 noffle

[svn] Do not return local server name in brackets.
author enz
date Fri, 05 May 2000 09:27:04 +0100
parents 2c9ea1ffcc88
children 92b59cfcf364
files group.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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 );