get_hostname(); if (!isset($SERVER_ICON_MAPPING[$hostname])) { return ""; } $room_token = $SERVER_ICON_MAPPING[$hostname]; $room = $server->get_room_by_token($room_token); if (!$room) { log_warning("Room $room_token on $hostname does not exist, cannot be used as icon."); return ""; } return room_icon($room, $size); } ?>