]> code.citadel.org Git - citadel.git/commitdiff
* rooms.c: Print name of room aide if any when doing <i>nfo
authorMichael Hampton <io_error@uncensored.citadel.org>
Tue, 14 May 2002 15:18:43 +0000 (15:18 +0000)
committerMichael Hampton <io_error@uncensored.citadel.org>
Tue, 14 May 2002 15:18:43 +0000 (15:18 +0000)
citadel/ChangeLog
citadel/rooms.c

index bc89a41959b8e737655b9f5b08d15f47b6f8d377..9229e81086b6f562bd514b961aa1ccda32dcc7a9 100644 (file)
@@ -1,4 +1,7 @@
  $Log$
+ Revision 591.25  2002/05/14 15:18:43  error
+ * rooms.c: Print name of room aide if any when doing <i>nfo
+
  Revision 591.24  2002/05/14 01:33:18  error
  * Fixed some incredibly silly typos
 
@@ -3654,4 +3657,3 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import
-
index 964860677fc4af1710ee751983c17ec3c0e29c6c..17993fe4ca65ff6870571e2d367b3596720ee44d 100644 (file)
@@ -993,10 +993,11 @@ void readinfo(void)
        serv_gets(cmd);
        if (cmd[0] == '2') {
                safestrncpy(raide, &cmd[4], sizeof raide);
-               scr_printf("Room aide is %s.\n\n", raide);
        } else {
                strcpy(raide, "");
        }
+       if (strlen(raide) > 0)
+               scr_printf("Room aide is %s.\n\n", raide);
 
        serv_puts("RINF");
        serv_gets(cmd);