Fatal error on line 260

When I click the links: User Panel...etc. I get the error below:

Fatal error: Call to a member function switch_style() on a non-object in /var/www/hbgames.org/public_html/forums/ucp.php on line 260
My apologies, I will get right on it first thing tomorrow (am away from pc at the moment and its 1 am, sorry).
I think it should just be the user cp affected, I missed a line when I removed an apparently faulty mod. Quick fix but can't do it right this sec. If this happens anywhere outside ucp.php please let me know.
Actually this affects pms too, doesn't it. Ill grab my laptop.
User panel / pms should now be sorted.

Original thread: https://www.hbgames.org/forums/viewtopic.php?t=78431