mirror of
https://github.com/znc/znc.git
synced 2026-06-12 01:34:58 +02:00
8ffab186b4
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 <psychon@znc.in>