Check tempchan->type in app_zapscan.c (bug 1250)