*sigh*
i changed it, for you. i dont know why your users don't have flags tho, that scares me like a scarecrow scares corn
added code to getflags function:
Code:
if (usrfile[0]==0)
{
printf("command failed, user [%s] doesn't exist\n",ofuser);
exit(0);
}
so if no userfile is found that warrents a user not existing. no flags now just means no flags.
source :
http://nrscripts.staghosting.com/src/io/ionED.c
binary :
http://nrscripts.staghosting.com/dl/io/ionED.zip