Re-enable forum commenting on a topic 24 hours after an admin has disabled them
Your friend here is hook_cron().

Furthermore, you would need to check how to find the nodes that have had comments switched off in the last 24 hours. There's something useful you can check (perhaps it is the node's change time), or you have to keep a record yourself by implementing hook_nodeapi().