I'm working on a module, that make changes on nodes when adding new node, or when editing an existing nodes,
but I have found that when adding a new node the hook_nodeapi's operation matches case "update" and case "insert", when it is assumed to match only case "insert"
Is there any way to do it the right way, or differentiate between the "update" case and "insert" case ?
I'm using Drupal 6
I have figured out the problem, here is the hook_nodeapi from drupal.org
so for case insert and case update are called together