Fix IRCv3 capability code documentation 188/head
authorShane Synan <digitalcircuit36939@gmail.com>
Thu, 10 Mar 2016 04:04:53 +0000 (22:04 -0600)
committerShane Synan <digitalcircuit36939@gmail.com>
Thu, 10 Mar 2016 04:06:38 +0000 (22:06 -0600)
Add the missing param[in]'s to capEanbled and capValue.

src/core/corenetwork.h

index ae1ebd8..4e6544e 100644 (file)
@@ -105,6 +105,7 @@ public:
     /**
      * Checks if a given capability is enabled.
      *
     /**
      * 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); }
      * @returns True if enabled, otherwise false
      */
     inline bool capEnabled(const QString &capability) const { return _capsSupported.contains(capability); }
@@ -119,6 +120,7 @@ public:
     /**
      * Gets the value of an enabled or pending capability, e.g. sasl=plain.
      *
     /**
      * 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;
      * @returns Value of capability if one was specified, otherwise empty string
      */
     QString capValue(const QString &capability) const;