SetCurrentRoomFlags (&WCC->CurRoom);
- http_transmit_thing(ChrPtr(do_template("room_edit", NULL)), 0);
+ http_transmit_thing(ChrPtr(do_template("room_edit")), 0);
}
if (!havebstr("ok_button")) {
strcpy(WC->ImportantMessage,
_("Cancelled. Changes were not saved."));
- http_transmit_thing(ChrPtr(do_template("room_edit", NULL)), 0);
+ http_transmit_thing(ChrPtr(do_template("room_edit")), 0);
return;
}
if (GetCurrentRoomFlags (&WCC->CurRoom) == 0)
if (succ1 + succ2 == 0)
AppendImportantMessage (_("Your changes have been saved."), -1);
- http_transmit_thing(ChrPtr(do_template("room_edit", NULL)), 0);
+ http_transmit_thing(ChrPtr(do_template("room_edit")), 0);
return;
}
}
}
- http_transmit_thing(ChrPtr(do_template("room_edit", NULL)), 0);
+ http_transmit_thing(ChrPtr(do_template("room_edit")), 0);
}
WCC->CurRoom.view = er_view;
if ( (WCC != NULL) && ( (WCC->CurRoom.RAFlags & UA_ADMINALLOWED) != 0) ) {
- http_transmit_thing(ChrPtr(do_template("room_edit", NULL)), 0);
+ http_transmit_thing(ChrPtr(do_template("room_edit")), 0);
} else {
smart_goto(WCC->CurRoom.name);
}
if (!havebstr("ok_button")) {
strcpy(WC->ImportantMessage,
_("Cancelled. Changes were not saved."));
- http_transmit_thing(ChrPtr(do_template("room_edit", NULL)), 0);
+ http_transmit_thing(ChrPtr(do_template("room_edit")), 0);
return;
}
strcat(WC->ImportantMessage, &buf[4]);
}
ReloadCurrentRoom();
- http_transmit_thing(ChrPtr(do_template("room_edit", NULL)), 0);
+ http_transmit_thing(ChrPtr(do_template("room_edit")), 0);
}
strcat(line, bstr("suffix"));
}
else {
- http_transmit_thing(ChrPtr(do_template("room_edit", NULL)), 0);
+ http_transmit_thing(ChrPtr(do_template("room_edit")), 0);
return;
}
fp = tmpfile();
if (fp == NULL) {
- http_transmit_thing(ChrPtr(do_template("room_edit", NULL)), 0);
+ http_transmit_thing(ChrPtr(do_template("room_edit")), 0);
return;
}
fclose(fp);
AppendImportantMessage(SRV_STATUS_MSG(Line));
FreeStrBuf(&Line);
- http_transmit_thing(ChrPtr(do_template("room_edit", NULL)), 0);
+ http_transmit_thing(ChrPtr(do_template("room_edit")), 0);
return;
}
if (GetServerStatus(Line, NULL) != 4) {
fclose(fp);
AppendImportantMessage(SRV_STATUS_MSG(Line));
- http_transmit_thing(ChrPtr(do_template("room_edit", NULL)), 0);
+ http_transmit_thing(ChrPtr(do_template("room_edit")), 0);
FreeStrBuf(&Line);
return;
}
FlushIgnetCfgs(&WC->CurRoom);
FreeStrBuf(&Line);
- http_transmit_thing(ChrPtr(do_template("room_edit", NULL)), 0);
+ http_transmit_thing(ChrPtr(do_template("room_edit")), 0);
}
/*
{
DeleteHash(&WC->Rooms);
output_headers(1, 1, 1, 0, 0, 0);
- do_template("knrooms", NULL);
+ do_template("knrooms");
wDumpContent(1);
}
AppendImportantMessage (SKEY(Buf));
FlushRoomlist();
- http_transmit_thing(ChrPtr(do_template("floors", NULL)), 0);
+ http_transmit_thing(ChrPtr(do_template("floors")), 0);
FreeStrBuf(&Buf);
}
}
AppendImportantMessage (SKEY(Buf));
FlushRoomlist();
- http_transmit_thing(ChrPtr(do_template("floors", NULL)), 0);
+ http_transmit_thing(ChrPtr(do_template("floors")), 0);
FreeStrBuf(&Buf);
}
StrBufCutLeft(Buf, 4);
AppendImportantMessage (SKEY(Buf));
- http_transmit_thing(ChrPtr(do_template("floors", NULL)), 0);
+ http_transmit_thing(ChrPtr(do_template("floors")), 0);
FreeStrBuf(&Buf);
}