Please sign in to comment.
CModule::OnMode(): Fix a stupid NULL pointer dereference
When joining a channel, OnMode() (via SetModes()) was called with pOpNick == NULL. This bad pointer was turned into a reference and given to modules. This bug exists since 2008 when the OnMode() module call was added. It wasn't noticed before because apparently no module used this CNick argument before. Signed-off-by: Uli Schlachter <email@example.com>
- Loading branch information...