The convention that seems to exist in mIRC is that filenames should only take quotes if they can be used as something besides the last argument. In the case of /log, the filename will always be the last argument (if it's provided at all), so there's no quotes required.
I wouldn't call this a bug because it's consistent. it's just a change.. and change is inevitable.