X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcorenetwork.h;h=ae1ebd8eb501674ad91104f746c56c02f9eacab7;hp=cc41309b4a4b3995124eb362113c0f366e8083f4;hb=ba1c9e7925671c1393e0ff6b140f68a3dc1fe3cf;hpb=9c59843b54202a69f4c01171b28bf79b26c27975 diff --git a/src/core/corenetwork.h b/src/core/corenetwork.h index cc41309b..ae1ebd8e 100644 --- a/src/core/corenetwork.h +++ b/src/core/corenetwork.h @@ -168,6 +168,24 @@ public: */ inline bool useCapExtendedJoin() const { return capEnabled("extended-join"); } + /** + * Gets the status of the userhost-in-names capability. + * + * http://ircv3.net/specs/extensions/userhost-in-names-3.2.html + * + * @returns True if userhost-in-names is enabled, otherwise false + */ + inline bool useCapUserhostInNames() const { return capEnabled("userhost-in-names"); } + + /** + * Gets the status of the multi-prefix capability. + * + * http://ircv3.net/specs/extensions/multi-prefix-3.1.html + * + * @returns True if multi-prefix is enabled, otherwise false + */ + inline bool useCapMultiPrefix() const { return capEnabled("multi-prefix"); } + public slots: virtual void setMyNick(const QString &mynick);