* create function to parse the output of goto into our folder structure
[citadel.git] / webcit / smtpqueue.c
index 16ae09ae1e263ba7b8d4cb943639eb37b22159a0..dc8eb3eff26df1dff76dbad50b2b97866b4dc2a1 100644 (file)
@@ -178,7 +178,7 @@ void display_smtpqueue_inner_div(void) {
        Buf = NewStrBufPlain(HKEY("__CitadelSMTPspoolout__"));
        gotoroom(Buf);
        FreeStrBuf(&Buf);
-       if (!strcasecmp(ChrPtr(WCC->wc_roomname), "__CitadelSMTPspoolout__")) {
+       if (!strcasecmp(ChrPtr(WCC->CurRoom.name), "__CitadelSMTPspoolout__")) {
 
                Stat.maxload = 10000;
                Stat.lowest_found = (-1);