inspircd/inspircd — pull request #811 by barosl (2014-03-30 08:20:44+00:00)
Title: Check return value of GetPrefixChar() when appending to a /NAMES list

As Membership::GetPrefixChar() returns '\0' when the user has no prefix, the output of Channel::UserList() will be truncated if the returned character is appended to the list without checking the null terminator.