inspircd/inspircd — pull request #62 by nenolod (2012-04-15 14:43:44+00:00)
Title: Explicitly shut down stdio's stdin/stdout/stderr.

The previous logic here was to only do this if stdio was connected to a controlling
terminal. However, we must do this always to avoid information leaks and other
problems related to stdio.

The only exception is if we are in debug mode.

This resolves issue #34.