Kudos to Casey for (unwittingly!) helping find it - you cunning devil.
Kudos to Brain for (amazingly!) fixing it. You rock.
In other news, we're getting closer to merging in the native windows patch - it should be in SVN sometime this week perhaps. Then we'll be a windows and other OS ircd, which is a scary concept given how many (usually modular!) features we have available.