common: Fix typo in Network::capAvailable() docs
authorShane Synan <digitalcircuit36939@gmail.com>
Sun, 17 Sep 2017 17:54:05 +0000 (12:54 -0500)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sun, 4 Feb 2018 22:48:36 +0000 (23:48 +0100)
In Network::capAvailable(), fix typo of "guarentee" -> "guarantee".
This doesn't have any impact on running code, but should still be
fixed.

Thanks to @justJanne for finding this.

Closes GH-300.

src/common/network.h

index 8a81021..38e1883 100644 (file)
@@ -295,7 +295,7 @@ public :
      *
      * These results aren't valid if the network is disconnected or capability negotiation hasn't
      * happened, and some servers might not correctly advertise capabilities.  Don't treat this as
      *
      * These results aren't valid if the network is disconnected or capability negotiation hasn't
      * happened, and some servers might not correctly advertise capabilities.  Don't treat this as
-     * a guarentee.
+     * a guarantee.
      *
      * @param[in] capability Name of capability
      * @returns True if connected and advertised by the server, otherwise false
      *
      * @param[in] capability Name of capability
      * @returns True if connected and advertised by the server, otherwise false