Do you happen to have two copies of mIRC installed on your computer? If so, you might be running one copy, but your browser is trying to use the other copy.

Even if that isn't the case, the problem lies with how your browser handles the IRC links.