I must be going blind, I cannot find that bit of code at all.
Ok, I am blind, there was another version of the yabb2_to_smf.php I found in the forums. Fixed that.
Now I get another issue. Guess I am just a problem child.

BTW I am using yabb 2.2.2 so dunno if that is gonna make an issue as well.
Successful.
Converting membergroups... Unsuccessful!
This query:
REPLACE INTO `db_atr_joomla`.smf_membergroups
(id_group, group_name, online_color, min_posts, stars)
VALUES (2, SUBSTRING('Global Moderator', 1, 80), SUBSTRING('olive', 1, 20), '-1', SUBSTRING('#stargmod.gif', 1, 255)),
(3, SUBSTRING('Moderator', 1, 80), SUBSTRING('green', 1, 20), '-1', SUBSTRING('#starmod.gif', 1, 255)),
(1, SUBSTRING('Admin', 1, 80), SUBSTRING('blue', 1, 20), '-1', SUBSTRING('#staradmin.gif', 1, 255));
Caused the error:
Unknown column 'group_name' in 'field list'