]> code.citadel.org Git - citadel.git/blobdiff - citadel/modules/newuser/serv_newuser.c
And a few more things comply with the coding style.
[citadel.git] / citadel / modules / newuser / serv_newuser.c
index 0e4b8bad9605dd77e37581efaeec94ed33d54905..08cf48d7e5fd47ae3d049d001070b08a933bd85d 100644 (file)
@@ -56,7 +56,6 @@
 #include "citserver.h"
 #include "support.h"
 #include "config.h"
-#include "room_ops.h"
 #include "user_ops.h"
 #include "policy.h"
 #include "database.h"
@@ -84,12 +83,12 @@ void CopyNewUserGreetings(void) {
        if (CC->user.timescalled != 1) return;
 
        /* This user's mailbox. */
-       MailboxName(mailboxname, sizeof mailboxname, &CC->user, MAILROOM);
+       CtdlMailboxName(mailboxname, sizeof mailboxname, &CC->user, MAILROOM);
 
        /* Go to the source room ... bail out silently if it's not there,
         * or if it's not private.
         */
-       if (getroom(&CC->room, NEWUSERGREETINGS) != 0) return;
+       if (CtdlGetRoom(&CC->room, NEWUSERGREETINGS) != 0) return;
        if (! CC->room.QRflags & QR_PRIVATE ) return;
 
        cdbfr = cdb_fetch(CDB_MSGLISTS, &CC->room.QRnumber, sizeof(long));