@argv0 I'm not sure it does.
Feel free to try for yourself...
Just setup this on your server and connect to it...https://ssspl.svn.sourceforge.net/svnroot/ssspl/sss.pl
I think @s00p might actually be on to something. I doubt it gathers it from the IRCd, but rather using DNS. But why it's failing to resolve it, I don't know, I can't work it out.