Put this inside if(dosave), as just Add idnode_notify_simple(&c->ch_id);