/*
* $Id$
*
- * A skeleton module to test the dynamic loader.
+ * Automaticalyl copies the contents of a "New User Greetings" room to the
+ * inbox of any new user upon account creation.
*
*/
}
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. */