#include "citserver.h"
#include "support.h"
#include "config.h"
-#include "room_ops.h"
#include "user_ops.h"
#include "policy.h"
#include "database.h"
int match = 0;
for (i = 0; i < MAXFLOORS; ++i) {
- fl = cgetfloor(i);
+ fl = CtdlGetCachedFloor(i);
if (fl->f_flags & F_INUSE) {
match = 0;
for (j=0; j<num_patterns; ++j) {
}
}
- /* Now start setting up the data we're going to send to the ForEachRoom() callback.
+ /* Now start setting up the data we're going to send to the CtdlForEachRoom() callback.
*/
data_for_callback[0] = (char *) verb;
data_for_callback[1] = (char *) subscribed_rooms_only;
*/
else {
imap_list_floors(verb, num_patterns, patterns);
- ForEachRoom(imap_listroom, data_for_callback);
+ CtdlForEachRoom(imap_listroom, data_for_callback);
}
/*