X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fcorenetwork.h;h=ae1ebd8eb501674ad91104f746c56c02f9eacab7;hb=de8cb8bb24c3bfd5600726e99acccb080a5beb87;hp=e3ef94570d96bf4b7b500030ecce5b7b9d38b199;hpb=8afb9857fdd184412b3d43e4402c3dda102ca4c5;p=quassel.git diff --git a/src/core/corenetwork.h b/src/core/corenetwork.h index e3ef9457..ae1ebd8e 100644 --- a/src/core/corenetwork.h +++ b/src/core/corenetwork.h @@ -177,6 +177,15 @@ public: */ 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);