That sounds like mIRC's lock feature which allows you to set a password for some functions (or for mIRC as a whole). To reset the password follow the instructions here.