$Log$
+ Revision 591.26 2002/05/14 15:25:34 error
+ * room_ops.c: clarified aide message when room aide is removed
+
Revision 591.25 2002/05/14 15:18:43 error
* rooms.c: Print name of room aide if any when doing <i>nfo
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
+
* the room table, otherwise it would deadlock!
*/
if (post_notice == 1) {
- snprintf(buf, sizeof buf, "%s is now room aide for %s>\n",
- usbuf.fullname, CC->quickroom.QRname);
+ if (strlen(usbuf.fullname) > 0)
+ snprintf(buf, sizeof buf,
+ "%s is now room aide for %s>\n",
+ usbuf.fullname, CC->quickroom.QRname);
+ else
+ snprintf(buf, sizeof buf,
+ "There is now no room aide for %s>\n",
+ CC->quickroom.QRname);
aide_message(buf);
}
cprintf("%d Ok\n", CIT_OK);