• Cathy J. Fitzpatrick's avatar
    Fix for setting mode +a or -a · 5b79cf8c
    Cathy J. Fitzpatrick authored and Eike Hein's avatar Eike Hein committed
    Previously, setting or removing mode +a on a nick in a channel called
    ChannelNick::setOwner(), so setting +a on a nick made the nick appear
    as an owner of the channel, rather than as an admin. This commit
    fixes the problem by correctly calling ChannelNick::setAdmin() instead.