Removed the old CtdlSaveMsgPointerInRoom() API. Everything now
[citadel.git] / citadel / serv_newuser.c
index 5cc13e9cbebecda9d181e5baa10482c7bc819728..da223f59fb6b1d9cf41d89c7c46eecd9bc1841b6 100644 (file)
@@ -85,9 +85,7 @@ void CopyNewUserGreetings(void) {
        }
 
        if (num_msgs > 0) {
-               for (i = 0; i < num_msgs; ++i) {
-                       CtdlCopyMsgToRoom(msglist[i], mailboxname);
-               }
+               CtdlCopyMsgsToRoom(msglist, num_msgs, mailboxname);
        }
 
        /* Now free the memory we used, and go away. */