First off – answering an earlier query – a comment edit will not create a forum post. It is created on a comment publish action.
As to the above then you can not use $wpdb->sflinks as only WP core tables are recognised in that construct.
Instead use the main sp_blog_links_control() function that is in the blog linking main plugin file – using an action of ‘read’.