Thread: My shmem utils
View Single Post
Old 09-28-2003, 02:22 PM  
Mouton
Posse Member
 
Join Date: Dec 2002
Posts: 1,956
Default

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.
Mouton is offline