Continue phase 2 of modules stuff.
[citadel.git] / citadel / modules / vcard / serv_vcard.c
index d6a29a196b9f81fc490279b33510156a8eeecc8f..06b06371871da1eeaae74635dc32e53c17030f36 100644 (file)
@@ -881,6 +881,8 @@ void vcard_delete_remove(char *room, long msgnum) {
        int linelen;
 
        if (msgnum <= 0L) return;
+       
+       if (room == NULL) return;
 
        if (strcasecmp(room, ADDRESS_BOOK_ROOM)) {
                return;