The weird thing is that it occurs when you send a file to someone, and it obviously tries to use the PRIVMSG raw command.... You sure it's a clean miRC install?