Move SASL maybeSupports into Network class
authorShane Synan <digitalcircuit36939@gmail.com>
Sun, 4 Dec 2016 05:40:46 +0000 (23:40 -0600)
committerManuel Nickschas <sputnick@quassel-irc.org>
Wed, 12 Apr 2017 21:30:16 +0000 (23:30 +0200)
commit0b983b0d9364e62db0b5e6cf25988ef8041a0c5d
tree0ef29f0ed883528aadf1b09d2043a9c6e039468d
parent5f13dd167785d830a851b134863dce231ec450dd
Move SASL maybeSupports into Network class

Move IrcCap::SaslMechs::maybeSupported to the Network class,
simplifying usage.  Now there's no need to specify the capability
value, avoiding hassle for most cases when you already have the
Network object.

Update CoreNetwork to use the moved function.  Tidy!
src/common/irccap.h
src/common/network.cpp
src/common/network.h
src/core/corenetwork.cpp