little thing u might wanna add to your getOnlineUser() function:
sometimes, the userid in the returned LPDC_ONLINEDATA structure is -1... that happens when the user is login in. you should return false then, or io will crash when u'll try to convert that invalid uid to a username later on...
was crashing ioftpd with that in ioBMonitor.
|