]> code.citadel.org Git - citadel.git/blobdiff - webcit/roomops.c
* WebCit now sends the name of the end user's browser as the client
[citadel.git] / webcit / roomops.c
index e2a43bbeabfcada2fba0aa23a2ddb314aae0289e..6d853ebdedc111f0939690d73cdc3059f7f8f8db 100644 (file)
@@ -366,7 +366,7 @@ void embed_room_banner(char *got) {
        wprintf("</FONT></TD>");
 
        /* Let the user know if new mail has arrived */
-       if (new_mail > remember_new_mail) {
+       if ( (new_mail > remember_new_mail) && (new_mail>0) ) {
                wprintf("<TD VALIGN=TOP>"
                        "<IMG SRC=\"/static/mail.gif\" border=0 "
                        "ALT=\"You have new mail\">"