~hww3/caudium

cf80214be005d135eeab74bffdc06818e5a3c8a4 — William Welliver 1 year, 1 month ago c8512ec
cimg: fix incorrect cache name
1 files changed, 2 insertions(+), 2 deletions(-)

M server/modules/graphics/cimg.pike
M server/modules/graphics/cimg.pike => server/modules/graphics/cimg.pike +2 -2
@@ 34,9 34,9 @@ constant thread_safe = 1;
caudium.ImageCache the_cache;


void start(object id)
void start(int x, object conf)
{
  the_cache = caudium.ImageCache(sprintf("cimg-%s", id->site_id), generate_image );
  the_cache = caudium.ImageCache(sprintf("cimg-%s", conf->name), generate_image );
}

mapping generate_image( mapping args, object id )