* Fixed the "users not in chat" wholist display
authorArt Cancro <ajc@citadel.org>
Thu, 14 Dec 2000 18:36:34 +0000 (18:36 +0000)
committerArt Cancro <ajc@citadel.org>
Thu, 14 Dec 2000 18:36:34 +0000 (18:36 +0000)
citadel/ChangeLog
citadel/serv_chat.c

index 5caccd5a47d9a3a81e0e129187f8d9d57a50b7b1..50b0b1a0ed3e702de3bee3a9c4bd21b17eafa026 100644 (file)
@@ -1,4 +1,7 @@
  $Log$
+ Revision 573.51  2000/12/14 18:36:34  ajc
+ * Fixed the "users not in chat" wholist display
+
  Revision 573.50  2000/12/12 18:06:46  ajc
  * Removed the transaction stuff (but left the log in).  It wasn't working.
 
@@ -2222,6 +2225,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 09a47d3b8f841530fd2f3070d4ce2211141d7267..69acb059d7e6717e46f3a28e13f0b0bbd91b0e20 100644 (file)
@@ -183,6 +183,12 @@ void do_chat_listing(int allflag)
                cprintf(":|\n:| Users not in chat:\n");
                for (ccptr = ContextList; ccptr != NULL; ccptr = ccptr->next) {
 
+                       GenerateRoomDisplay(roomname, ccptr, CC);
+                       if ((CC->usersupp.axlevel < 6)
+                       && (strlen(ccptr->fake_roomname)>0)) {
+                               strcpy(roomname, ccptr->fake_roomname);
+                       }
+
                        if (((ccptr->cs_flags & CS_CHAT) == 0)
                            && ((ccptr->cs_flags & CS_STEALTH) == 0)) {
                                cprintf(":| %-25s <%s>:\n",