Hi!

This is not an error message, nothing to worry about.
Your "public" IP is only needed to DCC Chat or Send and that's what /localinfo tries to get.
If you're behind a LAN or router, you'll have to change yourself you localinfo in mIRC options > Connect > Local Info.