Prevent Adium logout when locking screen on OSX 10.8.2
That behavior is determined by the settings in the Status pane of Adium preferences.  Specifically, it's determined by the "When Screen Saver is activated, set:" preference.  Check to make sure that's not set to "Offline".