diff --git a/golded3/gescan.cpp b/golded3/gescan.cpp index 43bd46a..74fc4f3 100644 --- a/golded3/gescan.cpp +++ b/golded3/gescan.cpp @@ -108,7 +108,7 @@ int AreaList::SetActiveAreaNo(int __areano) { int AreaList::AreaScan(int mode, uint currno, int pmscan, int& pmails, int& pmareas, const char* file) { // Never scan if there's active area - if(AA->isopen()) + if(AA and AA->isopen()) return false; gstrarray bag;