What script is it you are calling to delete the post? Are you talking about a user deleting it or a mod deleting it? Both of those are different scripts. You'll have different hooks called for each. If a user is doing it in the post, perhaps an editpost_ hook. Go see where those are and if one of them makes sense to use (do a search through your files for "editpost_"). If it's the Thread Tools (so a moderator), then that takes you to the inlinemoderation.php page. Take a look at that page for which hooks are used.
Its when a mod or admin deletes the post.....users do not hav ethe permissions to delete. If your sure its an editpost_...etc hook i'll try a few of them until it works
Thanks!
--------------- Added [DATE]1244572968[/DATE] at [TIME]1244572968[/TIME] ---------------
im going to try this hook: inlinemod_deletethread
--------------- Added [DATE]1244573206[/DATE] at [TIME]1244573206[/TIME] ---------------
It didnt work with the plugin code but didn't cause an error