core: Fix capability messages for repeat CAP LS
authorShane Synan <digitalcircuit36939@gmail.com>
Mon, 27 Jan 2020 06:24:06 +0000 (01:24 -0500)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sun, 12 Apr 2020 11:14:19 +0000 (13:14 +0200)
commit00b029d3947bc751893d735a495b03ea8796e139
tree69d6aa33eb9cecad874c941feaa24c7af0dc8999
parentb134e777b822b929a78455fd92146bf7443e9aa1
core: Fix capability messages for repeat CAP LS

Fix capability negotiation messages for manually running "/CAP LS",
and for when the server provides capabilities but Quassel does not
support any of them.

Before, running "/CAP LS" after negotiation would erroneously print
"* No capabilities available"
Now, running "/CAP LS" provides a summary of the current situation,
"* No additional capabilities are supported (found: a-aa, b-bb, c-cc;
   currently enabled: a-aa, b-bb)"
src/core/corenetwork.cpp