I get a try to use irc module and look into debug.log. And I found folowwing:
IRC :pelican.heliacal.net NOTICE AUTH :* Looking up your hostname... IRC :pelican.heliacal.net NOTICE AUTH :* Couldn't look up your hostname IRC SENDING: NICK IRC SENDING: USER 8 * : IRC :pelican.heliacal.net 431 * :No nickname given IRC :pelican.heliacal.net 461 * USER :Not enough parameters <...skipped...> IRC ERROR :Closing Link: 2a02:2560:6d2:115b:c2f8:daff:fe59:8c05. (Registration timed out)
So, it seems, it is mistake in one of functions, called from 252 line in irc.cpp and one of them returns an empty string if IPv6 address is used.