/***************************************************************************
- * Copyright (C) 2005-2015 by the Quassel Project *
+ * Copyright (C) 2005-2016 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
/**
* Checks if a given capability is enabled.
*
+ * @param[in] capability Name of capability
* @returns True if enabled, otherwise false
*/
inline bool capEnabled(const QString &capability) const { return _capsSupported.contains(capability); }
/**
* Gets the value of an enabled or pending capability, e.g. sasl=plain.
*
+ * @param[in] capability Name of capability
* @returns Value of capability if one was specified, otherwise empty string
*/
QString capValue(const QString &capability) const;